HSL(229, 55%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,55%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 55%, 37%) | color: hsl(229, 55%, 37%) | |
| HEX | #2A3D92 | color: #2A3D92 | |
| RGB | rgb(42, 61, 146) | color: rgb(42, 61, 146) | |
| CMYK | cmyk(71%, 58%, 0%, 43%) | — | |
| HSV | hsv(229, 71%, 57%) | — | |
| HWB | hwb(229 17% 43%) | color: hwb(229 17% 43%) | |
| OKLCH | oklch(0.398 0.1417 269.36) | color: oklch(0.398 0.1417 269.36) | |
| Lab | lab(29.17 22.68 -49.18) | color: lab(29.17 22.68 -49.18) | |
| LCH | lch(29.17 54.16 294.76) | color: lch(29.17 54.16 294.76) |
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)
#32327D — rgb(50, 50, 125)
Deuteranopia (Green-blind)
#313079 — rgb(49, 48, 121)
Tritanopia (Blue-blind)
#2B6D6A — rgb(43, 109, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 55%, 37%);
text
color: hsl(229, 55%, 37%);
border
border: 2px solid hsl(229, 55%, 37%);
gradient light
background: linear-gradient(to right, hsl(229, 55%, 57%), hsl(229, 55%, 37%));
gradient dark
background: linear-gradient(to right, hsl(229, 55%, 37%), hsl(229, 55%, 17%))
hex
background-color: #2A3D92;
tailwind
bg-[hsl(229,55%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 55%, 37%, 0.4);
css variable
--color-primary: hsl(229, 55%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 55%, 37%)?
HEX: #2A3D92 | RGB: rgb(42, 61, 146) | CMYK: 71%, 58%, 0%, 43% | HSV: 229°, 71%, 57%. Copy any format from the conversion table above.
What colors go well with #2A3D92?
The complementary color is HSL(49, 55%, 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, 55%, 37%) in CSS?
As HSL: color: hsl(229, 55%, 37%); — As HEX: color: #2A3D92; — As RGB: color: rgb(42, 61, 146); — Tailwind CSS: bg-[hsl(229,55%,37%)] — CSS variable: --color-primary: hsl(229, 55%, 37%);