HSL(196, 97%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(196,97%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(196, 97%, 25%) | color: hsl(196, 97%, 25%) | |
| HEX | #025D7E | color: #025D7E | |
| RGB | rgb(2, 93, 126) | color: rgb(2, 93, 126) | |
| CMYK | cmyk(98%, 26%, 0%, 51%) | — | |
| HSV | hsv(196, 98%, 49%) | — | |
| HWB | hwb(196 1% 51%) | color: hwb(196 1% 51%) | |
| OKLCH | oklch(0.4491 0.0904 231.52) | color: oklch(0.4491 0.0904 231.52) | |
| Lab | lab(36.64 -10.53 -25.03) | color: lab(36.64 -10.53 -25.03) | |
| LCH | lch(36.64 27.15 247.18) | color: lch(36.64 27.15 247.18) |
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)
#292A76 — rgb(41, 42, 118)
Deuteranopia (Green-blind)
#241D74 — rgb(36, 29, 116)
Tritanopia (Blue-blind)
#07706E — rgb(7, 112, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(196, 97%, 25%);
text
color: hsl(196, 97%, 25%);
border
border: 2px solid hsl(196, 97%, 25%);
gradient light
background: linear-gradient(to right, hsl(196, 97%, 45%), hsl(196, 97%, 25%));
gradient dark
background: linear-gradient(to right, hsl(196, 97%, 25%), hsl(196, 97%, 5%))
hex
background-color: #025D7E;
tailwind
bg-[hsl(196,97%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(196, 97%, 25%, 0.4);
css variable
--color-primary: hsl(196, 97%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(196, 97%, 25%)?
HEX: #025D7E | RGB: rgb(2, 93, 126) | CMYK: 98%, 26%, 0%, 51% | HSV: 196°, 98%, 49%. Copy any format from the conversion table above.
What colors go well with #025D7E?
The complementary color is HSL(16, 97%, 25%). For a triadic harmony, use hues 196°, 316°, and 76°. For analogous combinations, try hues 166° and 226°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(196, 97%, 25%) in CSS?
As HSL: color: hsl(196, 97%, 25%); — As HEX: color: #025D7E; — As RGB: color: rgb(2, 93, 126); — Tailwind CSS: bg-[hsl(196,97%,25%)] — CSS variable: --color-primary: hsl(196, 97%, 25%);