HSL(215, 78%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(215,78%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(215, 78%, 19%) | color: hsl(215, 78%, 19%) | |
| HEX | #0B2A56 | color: #0B2A56 | |
| RGB | rgb(11, 42, 86) | color: rgb(11, 42, 86) | |
| CMYK | cmyk(87%, 51%, 0%, 66%) | — | |
| HSV | hsv(215, 87%, 34%) | — | |
| HWB | hwb(215 4% 66%) | color: hwb(215 4% 66%) | |
| OKLCH | oklch(0.2906 0.0877 258.02) | color: oklch(0.2906 0.0877 258.02) | |
| Lab | lab(17.45 7.32 -29.85) | color: lab(17.45 7.32 -29.85) | |
| LCH | lch(17.45 30.73 283.78) | color: lch(17.45 30.73 283.78) |
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)
#18194B — rgb(24, 25, 75)
Deuteranopia (Green-blind)
#171449 — rgb(23, 20, 73)
Tritanopia (Blue-blind)
#0D4341 — rgb(13, 67, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(215, 78%, 19%);
text
color: hsl(215, 78%, 19%);
border
border: 2px solid hsl(215, 78%, 19%);
gradient light
background: linear-gradient(to right, hsl(215, 78%, 39%), hsl(215, 78%, 19%));
gradient dark
background: linear-gradient(to right, hsl(215, 78%, 19%), hsl(215, 78%, 0%))
hex
background-color: #0B2A56;
tailwind
bg-[hsl(215,78%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(215, 78%, 19%, 0.4);
css variable
--color-primary: hsl(215, 78%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(215, 78%, 19%)?
HEX: #0B2A56 | RGB: rgb(11, 42, 86) | CMYK: 87%, 51%, 0%, 66% | HSV: 215°, 87%, 34%. Copy any format from the conversion table above.
What colors go well with #0B2A56?
The complementary color is HSL(35, 78%, 19%). 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, 78%, 19%) in CSS?
As HSL: color: hsl(215, 78%, 19%); — As HEX: color: #0B2A56; — As RGB: color: rgb(11, 42, 86); — Tailwind CSS: bg-[hsl(215,78%,19%)] — CSS variable: --color-primary: hsl(215, 78%, 19%);