HSL(249, 65%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,65%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 65%, 15%) | color: hsl(249, 65%, 15%) | |
| HEX | #150D3F | color: #150D3F | |
| RGB | rgb(21, 13, 63) | color: rgb(21, 13, 63) | |
| CMYK | cmyk(67%, 79%, 0%, 75%) | — | |
| HSV | hsv(250, 79%, 25%) | — | |
| HWB | hwb(250 5% 75%) | color: hwb(250 5% 75%) | |
| OKLCH | oklch(0.2095 0.09 282.67) | color: oklch(0.2095 0.09 282.67) | |
| Lab | lab(7.28 20.74 -30.44) | color: lab(7.28 20.74 -30.44) | |
| LCH | lch(7.28 36.83 304.27) | color: lch(7.28 36.83 304.27) |
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)
#121133 — rgb(18, 17, 51)
Deuteranopia (Green-blind)
#121330 — rgb(18, 19, 48)
Tritanopia (Blue-blind)
#152927 — rgb(21, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 65%, 15%);
text
color: hsl(249, 65%, 15%);
border
border: 2px solid hsl(249, 65%, 15%);
gradient light
background: linear-gradient(to right, hsl(249, 65%, 35%), hsl(249, 65%, 15%));
gradient dark
background: linear-gradient(to right, hsl(249, 65%, 15%), hsl(249, 65%, 0%))
hex
background-color: #150D3F;
tailwind
bg-[hsl(249,65%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 65%, 15%, 0.4);
css variable
--color-primary: hsl(249, 65%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 65%, 15%)?
HEX: #150D3F | RGB: rgb(21, 13, 63) | CMYK: 67%, 79%, 0%, 75% | HSV: 250°, 79%, 25%. Copy any format from the conversion table above.
What colors go well with #150D3F?
The complementary color is HSL(69, 65%, 15%). 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, 65%, 15%) in CSS?
As HSL: color: hsl(249, 65%, 15%); — As HEX: color: #150D3F; — As RGB: color: rgb(21, 13, 63); — Tailwind CSS: bg-[hsl(249,65%,15%)] — CSS variable: --color-primary: hsl(249, 65%, 15%);