HSL(249, 55%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,55%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 55%, 22%) | color: hsl(249, 55%, 22%) | |
| HEX | #231957 | color: #231957 | |
| RGB | rgb(35, 25, 87) | color: rgb(35, 25, 87) | |
| CMYK | cmyk(60%, 71%, 0%, 66%) | — | |
| HSV | hsv(250, 71%, 34%) | — | |
| HWB | hwb(250 10% 66%) | color: hwb(250 10% 66%) | |
| OKLCH | oklch(0.2694 0.1065 284.02) | color: oklch(0.2694 0.1065 284.02) | |
| Lab | lab(14.06 24.12 -35.95) | color: lab(14.06 24.12 -35.95) | |
| LCH | lch(14.06 43.29 303.86) | color: lch(14.06 43.29 303.86) |
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)
#1F1F48 — rgb(31, 31, 72)
Deuteranopia (Green-blind)
#1F2044 — rgb(31, 32, 68)
Tritanopia (Blue-blind)
#233C3A — rgb(35, 60, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 55%, 22%);
text
color: hsl(249, 55%, 22%);
border
border: 2px solid hsl(249, 55%, 22%);
gradient light
background: linear-gradient(to right, hsl(249, 55%, 42%), hsl(249, 55%, 22%));
gradient dark
background: linear-gradient(to right, hsl(249, 55%, 22%), hsl(249, 55%, 2%))
hex
background-color: #231957;
tailwind
bg-[hsl(249,55%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 55%, 22%, 0.4);
css variable
--color-primary: hsl(249, 55%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 55%, 22%)?
HEX: #231957 | RGB: rgb(35, 25, 87) | CMYK: 60%, 71%, 0%, 66% | HSV: 250°, 71%, 34%. Copy any format from the conversion table above.
What colors go well with #231957?
The complementary color is HSL(69, 55%, 22%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 55%, 22%) in CSS?
As HSL: color: hsl(249, 55%, 22%); — As HEX: color: #231957; — As RGB: color: rgb(35, 25, 87); — Tailwind CSS: bg-[hsl(249,55%,22%)] — CSS variable: --color-primary: hsl(249, 55%, 22%);