HSL(248, 89%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,89%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 89%, 32%) | color: hsl(248, 89%, 32%) | |
| HEX | #1C099A | color: #1C099A | |
| RGB | rgb(28, 9, 154) | color: rgb(28, 9, 154) | |
| CMYK | cmyk(82%, 94%, 0%, 40%) | — | |
| HSV | hsv(248, 94%, 60%) | — | |
| HWB | hwb(248 4% 40%) | color: hwb(248 4% 40%) | |
| OKLCH | oklch(0.3265 0.2043 271.01) | color: oklch(0.3265 0.2043 271.01) | |
| Lab | lab(19.12 52.12 -70.69) | color: lab(19.12 52.12 -70.69) | |
| LCH | lch(19.12 87.83 306.4) | color: lch(19.12 87.83 306.4) |
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)
#141477 — rgb(20, 20, 119)
Deuteranopia (Green-blind)
#15166F — rgb(21, 22, 111)
Tritanopia (Blue-blind)
#1B5B55 — rgb(27, 91, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 89%, 32%);
text
color: hsl(248, 89%, 32%);
border
border: 2px solid hsl(248, 89%, 32%);
gradient light
background: linear-gradient(to right, hsl(248, 89%, 52%), hsl(248, 89%, 32%));
gradient dark
background: linear-gradient(to right, hsl(248, 89%, 32%), hsl(248, 89%, 12%))
hex
background-color: #1C099A;
tailwind
bg-[hsl(248,89%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 89%, 32%, 0.4);
css variable
--color-primary: hsl(248, 89%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 89%, 32%)?
HEX: #1C099A | RGB: rgb(28, 9, 154) | CMYK: 82%, 94%, 0%, 40% | HSV: 248°, 94%, 60%. Copy any format from the conversion table above.
What colors go well with #1C099A?
The complementary color is HSL(68, 89%, 32%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 89%, 32%) in CSS?
As HSL: color: hsl(248, 89%, 32%); — As HEX: color: #1C099A; — As RGB: color: rgb(28, 9, 154); — Tailwind CSS: bg-[hsl(248,89%,32%)] — CSS variable: --color-primary: hsl(248, 89%, 32%);