HSL(233, 67%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,67%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 67%, 32%) | color: hsl(233, 67%, 32%) | |
| HEX | #1B2888 | color: #1B2888 | |
| RGB | rgb(27, 40, 136) | color: rgb(27, 40, 136) | |
| CMYK | cmyk(80%, 71%, 0%, 47%) | — | |
| HSV | hsv(233, 80%, 53%) | — | |
| HWB | hwb(233 11% 47%) | color: hwb(233 11% 47%) | |
| OKLCH | oklch(0.3406 0.1583 269.31) | color: oklch(0.3406 0.1583 269.31) | |
| Lab | lab(22.04 31.19 -54.67) | color: lab(22.04 31.19 -54.67) | |
| LCH | lch(22.04 62.94 299.71) | color: lch(22.04 62.94 299.71) |
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)
#212171 — rgb(33, 33, 113)
Deuteranopia (Green-blind)
#201F6B — rgb(32, 31, 107)
Tritanopia (Blue-blind)
#1C5E5A — rgb(28, 94, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 67%, 32%);
text
color: hsl(233, 67%, 32%);
border
border: 2px solid hsl(233, 67%, 32%);
gradient light
background: linear-gradient(to right, hsl(233, 67%, 52%), hsl(233, 67%, 32%));
gradient dark
background: linear-gradient(to right, hsl(233, 67%, 32%), hsl(233, 67%, 12%))
hex
background-color: #1B2888;
tailwind
bg-[hsl(233,67%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 67%, 32%, 0.4);
css variable
--color-primary: hsl(233, 67%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 67%, 32%)?
HEX: #1B2888 | RGB: rgb(27, 40, 136) | CMYK: 80%, 71%, 0%, 47% | HSV: 233°, 80%, 53%. Copy any format from the conversion table above.
What colors go well with #1B2888?
The complementary color is HSL(53, 67%, 32%). 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, 67%, 32%) in CSS?
As HSL: color: hsl(233, 67%, 32%); — As HEX: color: #1B2888; — As RGB: color: rgb(27, 40, 136); — Tailwind CSS: bg-[hsl(233,67%,32%)] — CSS variable: --color-primary: hsl(233, 67%, 32%);