HSL(229, 75%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,75%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 75%, 23%) | color: hsl(229, 75%, 23%) | |
| HEX | #0F1F67 | color: #0F1F67 | |
| RGB | rgb(15, 31, 103) | color: rgb(15, 31, 103) | |
| CMYK | cmyk(85%, 70%, 0%, 60%) | — | |
| HSV | hsv(229, 85%, 40%) | — | |
| HWB | hwb(229 6% 60%) | color: hwb(229 6% 60%) | |
| OKLCH | oklch(0.2833 0.127 267.28) | color: oklch(0.2833 0.127 267.28) | |
| Lab | lab(15.8 23.26 -43.81) | color: lab(15.8 23.26 -43.81) | |
| LCH | lch(15.8 49.6 297.97) | color: lch(15.8 49.6 297.97) |
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)
#161656 — rgb(22, 22, 86)
Deuteranopia (Green-blind)
#151451 — rgb(21, 20, 81)
Tritanopia (Blue-blind)
#104845 — rgb(16, 72, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 75%, 23%);
text
color: hsl(229, 75%, 23%);
border
border: 2px solid hsl(229, 75%, 23%);
gradient light
background: linear-gradient(to right, hsl(229, 75%, 43%), hsl(229, 75%, 23%));
gradient dark
background: linear-gradient(to right, hsl(229, 75%, 23%), hsl(229, 75%, 3%))
hex
background-color: #0F1F67;
tailwind
bg-[hsl(229,75%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 75%, 23%, 0.4);
css variable
--color-primary: hsl(229, 75%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 75%, 23%)?
HEX: #0F1F67 | RGB: rgb(15, 31, 103) | CMYK: 85%, 70%, 0%, 60% | HSV: 229°, 85%, 40%. Copy any format from the conversion table above.
What colors go well with #0F1F67?
The complementary color is HSL(49, 75%, 23%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 75%, 23%) in CSS?
As HSL: color: hsl(229, 75%, 23%); — As HEX: color: #0F1F67; — As RGB: color: rgb(15, 31, 103); — Tailwind CSS: bg-[hsl(229,75%,23%)] — CSS variable: --color-primary: hsl(229, 75%, 23%);