HSL(229, 65%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,65%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 65%, 37%) | color: hsl(229, 65%, 37%) | |
| HEX | #21389C | color: #21389C | |
| RGB | rgb(33, 56, 156) | color: rgb(33, 56, 156) | |
| CMYK | cmyk(79%, 64%, 0%, 39%) | — | |
| HSV | hsv(229, 79%, 61%) | — | |
| HWB | hwb(229 13% 39%) | color: hwb(229 13% 39%) | |
| OKLCH | oklch(0.3926 0.1645 267.73) | color: oklch(0.3926 0.1645 267.73) | |
| Lab | lab(28.25 28.75 -56.81) | color: lab(28.25 28.75 -56.81) | |
| LCH | lch(28.25 63.67 296.84) | color: lch(28.25 63.67 296.84) |
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)
#2B2B84 — rgb(43, 43, 132)
Deuteranopia (Green-blind)
#2A287E — rgb(42, 40, 126)
Tritanopia (Blue-blind)
#22716D — rgb(34, 113, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 65%, 37%);
text
color: hsl(229, 65%, 37%);
border
border: 2px solid hsl(229, 65%, 37%);
gradient light
background: linear-gradient(to right, hsl(229, 65%, 57%), hsl(229, 65%, 37%));
gradient dark
background: linear-gradient(to right, hsl(229, 65%, 37%), hsl(229, 65%, 17%))
hex
background-color: #21389C;
tailwind
bg-[hsl(229,65%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 65%, 37%, 0.4);
css variable
--color-primary: hsl(229, 65%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 65%, 37%)?
HEX: #21389C | RGB: rgb(33, 56, 156) | CMYK: 79%, 64%, 0%, 39% | HSV: 229°, 79%, 61%. Copy any format from the conversion table above.
What colors go well with #21389C?
The complementary color is HSL(49, 65%, 37%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 65%, 37%) in CSS?
As HSL: color: hsl(229, 65%, 37%); — As HEX: color: #21389C; — As RGB: color: rgb(33, 56, 156); — Tailwind CSS: bg-[hsl(229,65%,37%)] — CSS variable: --color-primary: hsl(229, 65%, 37%);