HSL(218, 53%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,53%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 53%, 29%) | color: hsl(218, 53%, 29%) | |
| HEX | #233F71 | color: #233F71 | |
| RGB | rgb(35, 63, 113) | color: rgb(35, 63, 113) | |
| CMYK | cmyk(69%, 44%, 0%, 56%) | — | |
| HSV | hsv(218, 69%, 44%) | — | |
| HWB | hwb(218 14% 56%) | color: hwb(218 14% 56%) | |
| OKLCH | oklch(0.3732 0.0925 261.08) | color: oklch(0.3732 0.0925 261.08) | |
| Lab | lab(27.03 7.34 -32.05) | color: lab(27.03 7.34 -32.05) | |
| LCH | lch(27.03 32.88 282.9) | color: lch(27.03 32.88 282.9) |
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)
#2F2F65 — rgb(47, 47, 101)
Deuteranopia (Green-blind)
#2E2B62 — rgb(46, 43, 98)
Tritanopia (Blue-blind)
#245B59 — rgb(36, 91, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 53%, 29%);
text
color: hsl(218, 53%, 29%);
border
border: 2px solid hsl(218, 53%, 29%);
gradient light
background: linear-gradient(to right, hsl(218, 53%, 49%), hsl(218, 53%, 29%));
gradient dark
background: linear-gradient(to right, hsl(218, 53%, 29%), hsl(218, 53%, 9%))
hex
background-color: #233F71;
tailwind
bg-[hsl(218,53%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 53%, 29%, 0.4);
css variable
--color-primary: hsl(218, 53%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 53%, 29%)?
HEX: #233F71 | RGB: rgb(35, 63, 113) | CMYK: 69%, 44%, 0%, 56% | HSV: 218°, 69%, 44%. Copy any format from the conversion table above.
What colors go well with #233F71?
The complementary color is HSL(38, 53%, 29%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 53%, 29%) in CSS?
As HSL: color: hsl(218, 53%, 29%); — As HEX: color: #233F71; — As RGB: color: rgb(35, 63, 113); — Tailwind CSS: bg-[hsl(218,53%,29%)] — CSS variable: --color-primary: hsl(218, 53%, 29%);