HSL(237, 75%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,75%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 75%, 24%) | color: hsl(237, 75%, 24%) | |
| HEX | #0F146B | color: #0F146B | |
| RGB | rgb(15, 20, 107) | color: rgb(15, 20, 107) | |
| CMYK | cmyk(86%, 81%, 0%, 58%) | — | |
| HSV | hsv(237, 86%, 42%) | — | |
| HWB | hwb(237 6% 58%) | color: hwb(237 6% 58%) | |
| OKLCH | oklch(0.2689 0.145 269.25) | color: oklch(0.2689 0.145 269.25) | |
| Lab | lab(13.61 32.13 -50.05) | color: lab(13.61 32.13 -50.05) | |
| LCH | lch(13.61 59.48 302.7) | color: lch(13.61 59.48 302.7) |
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)
#111156 — rgb(17, 17, 86)
Deuteranopia (Green-blind)
#111151 — rgb(17, 17, 81)
Tritanopia (Blue-blind)
#0F4542 — rgb(15, 69, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 75%, 24%);
text
color: hsl(237, 75%, 24%);
border
border: 2px solid hsl(237, 75%, 24%);
gradient light
background: linear-gradient(to right, hsl(237, 75%, 44%), hsl(237, 75%, 24%));
gradient dark
background: linear-gradient(to right, hsl(237, 75%, 24%), hsl(237, 75%, 4%))
hex
background-color: #0F146B;
tailwind
bg-[hsl(237,75%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 75%, 24%, 0.4);
css variable
--color-primary: hsl(237, 75%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 75%, 24%)?
HEX: #0F146B | RGB: rgb(15, 20, 107) | CMYK: 86%, 81%, 0%, 58% | HSV: 237°, 86%, 42%. Copy any format from the conversion table above.
What colors go well with #0F146B?
The complementary color is HSL(57, 75%, 24%). 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, 75%, 24%) in CSS?
As HSL: color: hsl(237, 75%, 24%); — As HEX: color: #0F146B; — As RGB: color: rgb(15, 20, 107); — Tailwind CSS: bg-[hsl(237,75%,24%)] — CSS variable: --color-primary: hsl(237, 75%, 24%);