HSL(208, 30%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(208,30%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(208, 30%, 22%) | color: hsl(208, 30%, 22%) | |
| HEX | #273949 | color: #273949 | |
| RGB | rgb(39, 57, 73) | color: rgb(39, 57, 73) | |
| CMYK | cmyk(47%, 22%, 0%, 71%) | — | |
| HSV | hsv(208, 47%, 29%) | — | |
| HWB | hwb(208 15% 71%) | color: hwb(208 15% 71%) | |
| OKLCH | oklch(0.3363 0.0367 246) | color: oklch(0.3363 0.0367 246) | |
| Lab | lab(23.13 -2.28 -12.11) | color: lab(23.13 -2.28 -12.11) | |
| LCH | lch(23.13 12.32 259.34) | color: lch(23.13 12.32 259.34) |
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)
#2F2F45 — rgb(47, 47, 69)
Deuteranopia (Green-blind)
#2E2C44 — rgb(46, 44, 68)
Tritanopia (Blue-blind)
#284241 — rgb(40, 66, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(208, 30%, 22%);
text
color: hsl(208, 30%, 22%);
border
border: 2px solid hsl(208, 30%, 22%);
gradient light
background: linear-gradient(to right, hsl(208, 30%, 42%), hsl(208, 30%, 22%));
gradient dark
background: linear-gradient(to right, hsl(208, 30%, 22%), hsl(208, 30%, 2%))
hex
background-color: #273949;
tailwind
bg-[hsl(208,30%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(208, 30%, 22%, 0.4);
css variable
--color-primary: hsl(208, 30%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(208, 30%, 22%)?
HEX: #273949 | RGB: rgb(39, 57, 73) | CMYK: 47%, 22%, 0%, 71% | HSV: 208°, 47%, 29%. Copy any format from the conversion table above.
What colors go well with #273949?
The complementary color is HSL(28, 30%, 22%). For a triadic harmony, use hues 208°, 328°, and 88°. For analogous combinations, try hues 178° and 238°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(208, 30%, 22%) in CSS?
As HSL: color: hsl(208, 30%, 22%); — As HEX: color: #273949; — As RGB: color: rgb(39, 57, 73); — Tailwind CSS: bg-[hsl(208,30%,22%)] — CSS variable: --color-primary: hsl(208, 30%, 22%);