HSL(241, 85%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,85%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 85%, 28%) | color: hsl(241, 85%, 28%) | |
| HEX | #0D0B84 | color: #0D0B84 | |
| RGB | rgb(13, 11, 132) | color: rgb(13, 11, 132) | |
| CMYK | cmyk(90%, 92%, 0%, 48%) | — | |
| HSV | hsv(241, 92%, 52%) | — | |
| HWB | hwb(241 4% 48%) | color: hwb(241 4% 48%) | |
| OKLCH | oklch(0.2909 0.1827 267.57) | color: oklch(0.2909 0.1827 267.57) | |
| Lab | lab(15.44 44.7 -63.11) | color: lab(15.44 44.7 -63.11) | |
| LCH | lch(15.44 77.34 305.31) | color: lch(15.44 77.34 305.31) |
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)
#0C0C67 — rgb(12, 12, 103)
Deuteranopia (Green-blind)
#0C0C60 — rgb(12, 12, 96)
Tritanopia (Blue-blind)
#0D504B — rgb(13, 80, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 85%, 28%);
text
color: hsl(241, 85%, 28%);
border
border: 2px solid hsl(241, 85%, 28%);
gradient light
background: linear-gradient(to right, hsl(241, 85%, 48%), hsl(241, 85%, 28%));
gradient dark
background: linear-gradient(to right, hsl(241, 85%, 28%), hsl(241, 85%, 8%))
hex
background-color: #0D0B84;
tailwind
bg-[hsl(241,85%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 85%, 28%, 0.4);
css variable
--color-primary: hsl(241, 85%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 85%, 28%)?
HEX: #0D0B84 | RGB: rgb(13, 11, 132) | CMYK: 90%, 92%, 0%, 48% | HSV: 241°, 92%, 52%. Copy any format from the conversion table above.
What colors go well with #0D0B84?
The complementary color is HSL(61, 85%, 28%). 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, 85%, 28%) in CSS?
As HSL: color: hsl(241, 85%, 28%); — As HEX: color: #0D0B84; — As RGB: color: rgb(13, 11, 132); — Tailwind CSS: bg-[hsl(241,85%,28%)] — CSS variable: --color-primary: hsl(241, 85%, 28%);