HSL(195, 62%, 42%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(195,62%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(195, 62%, 42%) | color: hsl(195, 62%, 42%) | |
| HEX | #298CAE | color: #298CAE | |
| RGB | rgb(41, 140, 174) | color: rgb(41, 140, 174) | |
| CMYK | cmyk(76%, 20%, 0%, 32%) | — | |
| HSV | hsv(195, 76%, 68%) | — | |
| HWB | hwb(195 16% 32%) | color: hwb(195 16% 32%) | |
| OKLCH | oklch(0.5994 0.1015 225.79) | color: oklch(0.5994 0.1015 225.79) | |
| Lab | lab(54.32 -16.37 -25.93) | color: lab(54.32 -16.37 -25.93) | |
| LCH | lch(54.32 30.66 237.74) | color: lch(54.32 30.66 237.74) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#5455A6 — rgb(84, 85, 166)
Deuteranopia (Green-blind)
#4E47A4 — rgb(78, 71, 164)
Tritanopia (Blue-blind)
#2E9F9E — rgb(46, 159, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(195, 62%, 42%);
text
color: hsl(195, 62%, 42%);
border
border: 2px solid hsl(195, 62%, 42%);
gradient light
background: linear-gradient(to right, hsl(195, 62%, 62%), hsl(195, 62%, 42%));
gradient dark
background: linear-gradient(to right, hsl(195, 62%, 42%), hsl(195, 62%, 22%))
hex
background-color: #298CAE;
tailwind
bg-[hsl(195,62%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(195, 62%, 42%, 0.4);
css variable
--color-primary: hsl(195, 62%, 42%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(195, 62%, 42%)?
HEX: #298CAE | RGB: rgb(41, 140, 174) | CMYK: 76%, 20%, 0%, 32% | HSV: 195°, 76%, 68%. Copy any format from the conversion table above.
What colors go well with #298CAE?
The complementary color is HSL(15, 62%, 42%). For a triadic harmony, use hues 195°, 315°, and 75°. For analogous combinations, try hues 165° and 225°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(195, 62%, 42%) in CSS?
As HSL: color: hsl(195, 62%, 42%); — As HEX: color: #298CAE; — As RGB: color: rgb(41, 140, 174); — Tailwind CSS: bg-[hsl(195,62%,42%)] — CSS variable: --color-primary: hsl(195, 62%, 42%);