HSL(203, 30%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(203,30%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(203, 30%, 19%) | color: hsl(203, 30%, 19%) | |
| HEX | #22343F | color: #22343F | |
| RGB | rgb(34, 52, 63) | color: rgb(34, 52, 63) | |
| CMYK | cmyk(46%, 17%, 0%, 75%) | — | |
| HSV | hsv(203, 46%, 25%) | — | |
| HWB | hwb(203 14% 75%) | color: hwb(203 14% 75%) | |
| OKLCH | oklch(0.3144 0.0307 235.88) | color: oklch(0.3144 0.0307 235.88) | |
| Lab | lab(20.65 -3.85 -9.2) | color: lab(20.65 -3.85 -9.2) | |
| LCH | lch(20.65 9.97 247.29) | color: lch(20.65 9.97 247.29) |
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)
#2A2A3C — rgb(42, 42, 60)
Deuteranopia (Green-blind)
#29273C — rgb(41, 39, 60)
Tritanopia (Blue-blind)
#233A3A — rgb(35, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(203, 30%, 19%);
text
color: hsl(203, 30%, 19%);
border
border: 2px solid hsl(203, 30%, 19%);
gradient light
background: linear-gradient(to right, hsl(203, 30%, 39%), hsl(203, 30%, 19%));
gradient dark
background: linear-gradient(to right, hsl(203, 30%, 19%), hsl(203, 30%, 0%))
hex
background-color: #22343F;
tailwind
bg-[hsl(203,30%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(203, 30%, 19%, 0.4);
css variable
--color-primary: hsl(203, 30%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(203, 30%, 19%)?
HEX: #22343F | RGB: rgb(34, 52, 63) | CMYK: 46%, 17%, 0%, 75% | HSV: 203°, 46%, 25%. Copy any format from the conversion table above.
What colors go well with #22343F?
The complementary color is HSL(23, 30%, 19%). For a triadic harmony, use hues 203°, 323°, and 83°. For analogous combinations, try hues 173° and 233°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(203, 30%, 19%) in CSS?
As HSL: color: hsl(203, 30%, 19%); — As HEX: color: #22343F; — As RGB: color: rgb(34, 52, 63); — Tailwind CSS: bg-[hsl(203,30%,19%)] — CSS variable: --color-primary: hsl(203, 30%, 19%);