HSL(241, 70%, 17%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,70%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 70%, 17%) | color: hsl(241, 70%, 17%) | |
| HEX | #0E0D4A | color: #0E0D4A | |
| RGB | rgb(14, 13, 74) | color: rgb(14, 13, 74) | |
| CMYK | cmyk(81%, 82%, 0%, 71%) | — | |
| HSV | hsv(241, 82%, 29%) | — | |
| HWB | hwb(241 5% 71%) | color: hwb(241 5% 71%) | |
| OKLCH | oklch(0.2164 0.1078 273.4) | color: oklch(0.2164 0.1078 273.4) | |
| Lab | lab(7.91 24.03 -37.2) | color: lab(7.91 24.03 -37.2) | |
| LCH | lch(7.91 44.29 302.86) | color: lch(7.91 44.29 302.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)
#0E0E3B — rgb(14, 14, 59)
Deuteranopia (Green-blind)
#0E0E38 — rgb(14, 14, 56)
Tritanopia (Blue-blind)
#0E302D — rgb(14, 48, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 70%, 17%);
text
color: hsl(241, 70%, 17%);
border
border: 2px solid hsl(241, 70%, 17%);
gradient light
background: linear-gradient(to right, hsl(241, 70%, 37%), hsl(241, 70%, 17%));
gradient dark
background: linear-gradient(to right, hsl(241, 70%, 17%), hsl(241, 70%, 0%))
hex
background-color: #0E0D4A;
tailwind
bg-[hsl(241,70%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 70%, 17%, 0.4);
css variable
--color-primary: hsl(241, 70%, 17%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 70%, 17%)?
HEX: #0E0D4A | RGB: rgb(14, 13, 74) | CMYK: 81%, 82%, 0%, 71% | HSV: 241°, 82%, 29%. Copy any format from the conversion table above.
What colors go well with #0E0D4A?
The complementary color is HSL(61, 70%, 17%). For a triadic harmony, use hues 241°, 1°, and 121°. For analogous combinations, try hues 211° and 271°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(241, 70%, 17%) in CSS?
As HSL: color: hsl(241, 70%, 17%); — As HEX: color: #0E0D4A; — As RGB: color: rgb(14, 13, 74); — Tailwind CSS: bg-[hsl(241,70%,17%)] — CSS variable: --color-primary: hsl(241, 70%, 17%);