HSL(215, 63%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(215,63%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(215, 63%, 15%) | color: hsl(215, 63%, 15%) | |
| HEX | #0E223E | color: #0E223E | |
| RGB | rgb(14, 34, 62) | color: rgb(14, 34, 62) | |
| CMYK | cmyk(77%, 45%, 0%, 76%) | — | |
| HSV | hsv(215, 77%, 24%) | — | |
| HWB | hwb(215 6% 76%) | color: hwb(215 6% 76%) | |
| OKLCH | oklch(0.252 0.0593 257.21) | color: oklch(0.252 0.0593 257.21) | |
| Lab | lab(13.14 3.14 -20.3) | color: lab(13.14 3.14 -20.3) | |
| LCH | lch(13.14 20.54 278.79) | color: lch(13.14 20.54 278.79) |
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)
#171737 — rgb(23, 23, 55)
Deuteranopia (Green-blind)
#161436 — rgb(22, 20, 54)
Tritanopia (Blue-blind)
#0F3231 — rgb(15, 50, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(215, 63%, 15%);
text
color: hsl(215, 63%, 15%);
border
border: 2px solid hsl(215, 63%, 15%);
gradient light
background: linear-gradient(to right, hsl(215, 63%, 35%), hsl(215, 63%, 15%));
gradient dark
background: linear-gradient(to right, hsl(215, 63%, 15%), hsl(215, 63%, 0%))
hex
background-color: #0E223E;
tailwind
bg-[hsl(215,63%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(215, 63%, 15%, 0.4);
css variable
--color-primary: hsl(215, 63%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(215, 63%, 15%)?
HEX: #0E223E | RGB: rgb(14, 34, 62) | CMYK: 77%, 45%, 0%, 76% | HSV: 215°, 77%, 24%. Copy any format from the conversion table above.
What colors go well with #0E223E?
The complementary color is HSL(35, 63%, 15%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(215, 63%, 15%) in CSS?
As HSL: color: hsl(215, 63%, 15%); — As HEX: color: #0E223E; — As RGB: color: rgb(14, 34, 62); — Tailwind CSS: bg-[hsl(215,63%,15%)] — CSS variable: --color-primary: hsl(215, 63%, 15%);