HSL(197, 96%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,96%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 96%, 24%) | color: hsl(197, 96%, 24%) | |
| HEX | #025778 | color: #025778 | |
| RGB | rgb(2, 87, 120) | color: rgb(2, 87, 120) | |
| CMYK | cmyk(98%, 28%, 0%, 53%) | — | |
| HSV | hsv(197, 98%, 47%) | — | |
| HWB | hwb(197 1% 53%) | color: hwb(197 1% 53%) | |
| OKLCH | oklch(0.4299 0.0881 233.08) | color: oklch(0.4299 0.0881 233.08) | |
| Lab | lab(34.36 -9.3 -24.9) | color: lab(34.36 -9.3 -24.9) | |
| LCH | lch(34.36 26.58 249.52) | color: lch(34.36 26.58 249.52) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#272870 — rgb(39, 40, 112)
Deuteranopia (Green-blind)
#221C6E — rgb(34, 28, 110)
Tritanopia (Blue-blind)
#066A68 — rgb(6, 106, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 96%, 24%);
text
color: hsl(197, 96%, 24%);
border
border: 2px solid hsl(197, 96%, 24%);
gradient light
background: linear-gradient(to right, hsl(197, 96%, 44%), hsl(197, 96%, 24%));
gradient dark
background: linear-gradient(to right, hsl(197, 96%, 24%), hsl(197, 96%, 4%))
hex
background-color: #025778;
tailwind
bg-[hsl(197,96%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 96%, 24%, 0.4);
css variable
--color-primary: hsl(197, 96%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 96%, 24%)?
HEX: #025778 | RGB: rgb(2, 87, 120) | CMYK: 98%, 28%, 0%, 53% | HSV: 197°, 98%, 47%. Copy any format from the conversion table above.
What colors go well with #025778?
The complementary color is HSL(17, 96%, 24%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 96%, 24%) in CSS?
As HSL: color: hsl(197, 96%, 24%); — As HEX: color: #025778; — As RGB: color: rgb(2, 87, 120); — Tailwind CSS: bg-[hsl(197,96%,24%)] — CSS variable: --color-primary: hsl(197, 96%, 24%);