HSL(230, 76%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,76%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 76%, 24%) | color: hsl(230, 76%, 24%) | |
| HEX | #0F1E6C | color: #0F1E6C | |
| RGB | rgb(15, 30, 108) | color: rgb(15, 30, 108) | |
| CMYK | cmyk(86%, 72%, 0%, 58%) | — | |
| HSV | hsv(230, 86%, 42%) | — | |
| HWB | hwb(230 6% 58%) | color: hwb(230 6% 58%) | |
| OKLCH | oklch(0.2868 0.1353 267.51) | color: oklch(0.2868 0.1353 267.51) | |
| Lab | lab(16.07 26 -46.65) | color: lab(16.07 26 -46.65) | |
| LCH | lch(16.07 53.41 299.13) | color: lch(16.07 53.41 299.13) |
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)
#151659 — rgb(21, 22, 89)
Deuteranopia (Green-blind)
#151455 — rgb(21, 20, 85)
Tritanopia (Blue-blind)
#104A47 — rgb(16, 74, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 76%, 24%);
text
color: hsl(230, 76%, 24%);
border
border: 2px solid hsl(230, 76%, 24%);
gradient light
background: linear-gradient(to right, hsl(230, 76%, 44%), hsl(230, 76%, 24%));
gradient dark
background: linear-gradient(to right, hsl(230, 76%, 24%), hsl(230, 76%, 4%))
hex
background-color: #0F1E6C;
tailwind
bg-[hsl(230,76%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 76%, 24%, 0.4);
css variable
--color-primary: hsl(230, 76%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 76%, 24%)?
HEX: #0F1E6C | RGB: rgb(15, 30, 108) | CMYK: 86%, 72%, 0%, 58% | HSV: 230°, 86%, 42%. Copy any format from the conversion table above.
What colors go well with #0F1E6C?
The complementary color is HSL(50, 76%, 24%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 76%, 24%) in CSS?
As HSL: color: hsl(230, 76%, 24%); — As HEX: color: #0F1E6C; — As RGB: color: rgb(15, 30, 108); — Tailwind CSS: bg-[hsl(230,76%,24%)] — CSS variable: --color-primary: hsl(230, 76%, 24%);