HSL(222, 56%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,56%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 56%, 15%) | color: hsl(222, 56%, 15%) | |
| HEX | #111E3C | color: #111E3C | |
| RGB | rgb(17, 30, 60) | color: rgb(17, 30, 60) | |
| CMYK | cmyk(72%, 50%, 0%, 76%) | — | |
| HSV | hsv(222, 72%, 24%) | — | |
| HWB | hwb(222 7% 76%) | color: hwb(222 7% 76%) | |
| OKLCH | oklch(0.2415 0.0603 264.66) | color: oklch(0.2415 0.0603 264.66) | |
| Lab | lab(11.78 5.96 -21.04) | color: lab(11.78 5.96 -21.04) | |
| LCH | lch(11.78 21.87 285.82) | color: lch(11.78 21.87 285.82) |
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)
#171735 — rgb(23, 23, 53)
Deuteranopia (Green-blind)
#161533 — rgb(22, 21, 51)
Tritanopia (Blue-blind)
#122F2E — rgb(18, 47, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 56%, 15%);
text
color: hsl(222, 56%, 15%);
border
border: 2px solid hsl(222, 56%, 15%);
gradient light
background: linear-gradient(to right, hsl(222, 56%, 35%), hsl(222, 56%, 15%));
gradient dark
background: linear-gradient(to right, hsl(222, 56%, 15%), hsl(222, 56%, 0%))
hex
background-color: #111E3C;
tailwind
bg-[hsl(222,56%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 56%, 15%, 0.4);
css variable
--color-primary: hsl(222, 56%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 56%, 15%)?
HEX: #111E3C | RGB: rgb(17, 30, 60) | CMYK: 72%, 50%, 0%, 76% | HSV: 222°, 72%, 24%. Copy any format from the conversion table above.
What colors go well with #111E3C?
The complementary color is HSL(42, 56%, 15%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 56%, 15%) in CSS?
As HSL: color: hsl(222, 56%, 15%); — As HEX: color: #111E3C; — As RGB: color: rgb(17, 30, 60); — Tailwind CSS: bg-[hsl(222,56%,15%)] — CSS variable: --color-primary: hsl(222, 56%, 15%);