HSL(211, 30%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,30%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 30%, 19%) | color: hsl(211, 30%, 19%) | |
| HEX | #22303F | color: #22303F | |
| RGB | rgb(34, 48, 63) | color: rgb(34, 48, 63) | |
| CMYK | cmyk(46%, 24%, 0%, 75%) | — | |
| HSV | hsv(211, 46%, 25%) | — | |
| HWB | hwb(211 14% 75%) | color: hwb(211 14% 75%) | |
| OKLCH | oklch(0.3035 0.0332 250.67) | color: oklch(0.3035 0.0332 250.67) | |
| Lab | lab(19.28 -1.14 -11.3) | color: lab(19.28 -1.14 -11.3) | |
| LCH | lch(19.28 11.36 264.24) | color: lch(19.28 11.36 264.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)
#28283B — rgb(40, 40, 59)
Deuteranopia (Green-blind)
#27263B — rgb(39, 38, 59)
Tritanopia (Blue-blind)
#233938 — rgb(35, 57, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 30%, 19%);
text
color: hsl(211, 30%, 19%);
border
border: 2px solid hsl(211, 30%, 19%);
gradient light
background: linear-gradient(to right, hsl(211, 30%, 39%), hsl(211, 30%, 19%));
gradient dark
background: linear-gradient(to right, hsl(211, 30%, 19%), hsl(211, 30%, 0%))
hex
background-color: #22303F;
tailwind
bg-[hsl(211,30%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 30%, 19%, 0.4);
css variable
--color-primary: hsl(211, 30%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 30%, 19%)?
HEX: #22303F | RGB: rgb(34, 48, 63) | CMYK: 46%, 24%, 0%, 75% | HSV: 211°, 46%, 25%. Copy any format from the conversion table above.
What colors go well with #22303F?
The complementary color is HSL(31, 30%, 19%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 30%, 19%) in CSS?
As HSL: color: hsl(211, 30%, 19%); — As HEX: color: #22303F; — As RGB: color: rgb(34, 48, 63); — Tailwind CSS: bg-[hsl(211,30%,19%)] — CSS variable: --color-primary: hsl(211, 30%, 19%);