HSL(237, 89%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,89%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 89%, 25%) | color: hsl(237, 89%, 25%) | |
| HEX | #070D78 | color: #070D78 | |
| RGB | rgb(7, 13, 120) | color: rgb(7, 13, 120) | |
| CMYK | cmyk(94%, 89%, 0%, 53%) | — | |
| HSV | hsv(237, 94%, 47%) | — | |
| HWB | hwb(237 3% 53%) | color: hwb(237 3% 53%) | |
| OKLCH | oklch(0.274 0.169 266.35) | color: oklch(0.274 0.169 266.35) | |
| Lab | lab(13.76 39.96 -58.25) | color: lab(13.76 39.96 -58.25) | |
| LCH | lch(13.76 70.64 304.45) | color: lch(13.76 70.64 304.45) |
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)
#0A0A5E — rgb(10, 10, 94)
Deuteranopia (Green-blind)
#090958 — rgb(9, 9, 88)
Tritanopia (Blue-blind)
#074A45 — rgb(7, 74, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 89%, 25%);
text
color: hsl(237, 89%, 25%);
border
border: 2px solid hsl(237, 89%, 25%);
gradient light
background: linear-gradient(to right, hsl(237, 89%, 45%), hsl(237, 89%, 25%));
gradient dark
background: linear-gradient(to right, hsl(237, 89%, 25%), hsl(237, 89%, 5%))
hex
background-color: #070D78;
tailwind
bg-[hsl(237,89%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 89%, 25%, 0.4);
css variable
--color-primary: hsl(237, 89%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 89%, 25%)?
HEX: #070D78 | RGB: rgb(7, 13, 120) | CMYK: 94%, 89%, 0%, 53% | HSV: 237°, 94%, 47%. Copy any format from the conversion table above.
What colors go well with #070D78?
The complementary color is HSL(57, 89%, 25%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 89%, 25%) in CSS?
As HSL: color: hsl(237, 89%, 25%); — As HEX: color: #070D78; — As RGB: color: rgb(7, 13, 120); — Tailwind CSS: bg-[hsl(237,89%,25%)] — CSS variable: --color-primary: hsl(237, 89%, 25%);