HSL(233, 99%, 27%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,99%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 99%, 27%) | color: hsl(233, 99%, 27%) | |
| HEX | #011189 | color: #011189 | |
| RGB | rgb(1, 17, 137) | color: rgb(1, 17, 137) | |
| CMYK | cmyk(99%, 88%, 0%, 46%) | — | |
| HSV | hsv(233, 99%, 54%) | — | |
| HWB | hwb(233 1% 46%) | color: hwb(233 1% 46%) | |
| OKLCH | oklch(0.2994 0.1874 264.43) | color: oklch(0.2994 0.1874 264.43) | |
| Lab | lab(16.57 43.5 -64.39) | color: lab(16.57 43.5 -64.39) | |
| LCH | lch(16.57 77.71 304.04) | color: lch(16.57 77.71 304.04) |
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)
#08086C — rgb(8, 8, 108)
Deuteranopia (Green-blind)
#070665 — rgb(7, 6, 101)
Tritanopia (Blue-blind)
#025550 — rgb(2, 85, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 99%, 27%);
text
color: hsl(233, 99%, 27%);
border
border: 2px solid hsl(233, 99%, 27%);
gradient light
background: linear-gradient(to right, hsl(233, 99%, 47%), hsl(233, 99%, 27%));
gradient dark
background: linear-gradient(to right, hsl(233, 99%, 27%), hsl(233, 99%, 7%))
hex
background-color: #011189;
tailwind
bg-[hsl(233,99%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 99%, 27%, 0.4);
css variable
--color-primary: hsl(233, 99%, 27%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 99%, 27%)?
HEX: #011189 | RGB: rgb(1, 17, 137) | CMYK: 99%, 88%, 0%, 46% | HSV: 233°, 99%, 54%. Copy any format from the conversion table above.
What colors go well with #011189?
The complementary color is HSL(53, 99%, 27%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 99%, 27%) in CSS?
As HSL: color: hsl(233, 99%, 27%); — As HEX: color: #011189; — As RGB: color: rgb(1, 17, 137); — Tailwind CSS: bg-[hsl(233,99%,27%)] — CSS variable: --color-primary: hsl(233, 99%, 27%);