HSL(237, 89%, 5%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,89%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 89%, 5%) | color: hsl(237, 89%, 5%) | |
| HEX | #010318 | color: #010318 | |
| RGB | rgb(1, 3, 24) | color: rgb(1, 3, 24) | |
| CMYK | cmyk(96%, 88%, 0%, 91%) | — | |
| HSV | hsv(235, 96%, 9%) | — | |
| HWB | hwb(235 0% 91%) | color: hwb(235 0% 91%) | |
| OKLCH | oklch(0.1149 0.0519 267.07) | color: oklch(0.1149 0.0519 267.07) | |
| Lab | lab(1.24 3.24 -10.44) | color: lab(1.24 3.24 -10.44) | |
| LCH | lch(1.24 10.93 287.24) | color: lch(1.24 10.93 287.24) |
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)
#020213 — rgb(2, 2, 19)
Deuteranopia (Green-blind)
#020212 — rgb(2, 2, 18)
Tritanopia (Blue-blind)
#010F0E — rgb(1, 15, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 89%, 5%);
text
color: hsl(237, 89%, 5%);
border
border: 2px solid hsl(237, 89%, 5%);
gradient light
background: linear-gradient(to right, hsl(237, 89%, 25%), hsl(237, 89%, 5%));
gradient dark
background: linear-gradient(to right, hsl(237, 89%, 5%), hsl(237, 89%, 0%))
hex
background-color: #010318;
tailwind
bg-[hsl(237,89%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 89%, 5%, 0.4);
css variable
--color-primary: hsl(237, 89%, 5%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 89%, 5%)?
HEX: #010318 | RGB: rgb(1, 3, 24) | CMYK: 96%, 88%, 0%, 91% | HSV: 235°, 96%, 9%. Copy any format from the conversion table above.
What colors go well with #010318?
The complementary color is HSL(57, 89%, 5%). 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%, 5%) in CSS?
As HSL: color: hsl(237, 89%, 5%); — As HEX: color: #010318; — As RGB: color: rgb(1, 3, 24); — Tailwind CSS: bg-[hsl(237,89%,5%)] — CSS variable: --color-primary: hsl(237, 89%, 5%);