HSL(233, 71%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,71%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 71%, 32%) | color: hsl(233, 71%, 32%) | |
| HEX | #18258C | color: #18258C | |
| RGB | rgb(24, 37, 140) | color: rgb(24, 37, 140) | |
| CMYK | cmyk(83%, 74%, 0%, 45%) | — | |
| HSV | hsv(233, 83%, 55%) | — | |
| HWB | hwb(233 9% 45%) | color: hwb(233 9% 45%) | |
| OKLCH | oklch(0.3384 0.1677 268.67) | color: oklch(0.3384 0.1677 268.67) | |
| Lab | lab(21.62 34.37 -57.87) | color: lab(21.62 34.37 -57.87) | |
| LCH | lch(21.62 67.31 300.71) | color: lch(21.62 67.31 300.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)
#1E1E73 — rgb(30, 30, 115)
Deuteranopia (Green-blind)
#1D1C6D — rgb(29, 28, 109)
Tritanopia (Blue-blind)
#195F5B — rgb(25, 95, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 71%, 32%);
text
color: hsl(233, 71%, 32%);
border
border: 2px solid hsl(233, 71%, 32%);
gradient light
background: linear-gradient(to right, hsl(233, 71%, 52%), hsl(233, 71%, 32%));
gradient dark
background: linear-gradient(to right, hsl(233, 71%, 32%), hsl(233, 71%, 12%))
hex
background-color: #18258C;
tailwind
bg-[hsl(233,71%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 71%, 32%, 0.4);
css variable
--color-primary: hsl(233, 71%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 71%, 32%)?
HEX: #18258C | RGB: rgb(24, 37, 140) | CMYK: 83%, 74%, 0%, 45% | HSV: 233°, 83%, 55%. Copy any format from the conversion table above.
What colors go well with #18258C?
The complementary color is HSL(53, 71%, 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, 71%, 32%) in CSS?
As HSL: color: hsl(233, 71%, 32%); — As HEX: color: #18258C; — As RGB: color: rgb(24, 37, 140); — Tailwind CSS: bg-[hsl(233,71%,32%)] — CSS variable: --color-primary: hsl(233, 71%, 32%);