HSL(233, 62%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,62%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 62%, 41%) | color: hsl(233, 62%, 41%) | |
| HEX | #2837A9 | color: #2837A9 | |
| RGB | rgb(40, 55, 169) | color: rgb(40, 55, 169) | |
| CMYK | cmyk(76%, 67%, 0%, 34%) | — | |
| HSV | hsv(233, 76%, 66%) | — | |
| HWB | hwb(233 16% 34%) | color: hwb(233 16% 34%) | |
| OKLCH | oklch(0.4066 0.181 270.01) | color: oklch(0.4066 0.181 270.01) | |
| Lab | lab(29.53 34.97 -62.56) | color: lab(29.53 34.97 -62.56) | |
| LCH | lch(29.53 71.67 299.2) | color: lch(29.53 71.67 299.2) |
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)
#2E2F8D — rgb(46, 47, 141)
Deuteranopia (Green-blind)
#2E2D87 — rgb(46, 45, 135)
Tritanopia (Blue-blind)
#297873 — rgb(41, 120, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 62%, 41%);
text
color: hsl(233, 62%, 41%);
border
border: 2px solid hsl(233, 62%, 41%);
gradient light
background: linear-gradient(to right, hsl(233, 62%, 61%), hsl(233, 62%, 41%));
gradient dark
background: linear-gradient(to right, hsl(233, 62%, 41%), hsl(233, 62%, 21%))
hex
background-color: #2837A9;
tailwind
bg-[hsl(233,62%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 62%, 41%, 0.4);
css variable
--color-primary: hsl(233, 62%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 62%, 41%)?
HEX: #2837A9 | RGB: rgb(40, 55, 169) | CMYK: 76%, 67%, 0%, 34% | HSV: 233°, 76%, 66%. Copy any format from the conversion table above.
What colors go well with #2837A9?
The complementary color is HSL(53, 62%, 41%). 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, 62%, 41%) in CSS?
As HSL: color: hsl(233, 62%, 41%); — As HEX: color: #2837A9; — As RGB: color: rgb(40, 55, 169); — Tailwind CSS: bg-[hsl(233,62%,41%)] — CSS variable: --color-primary: hsl(233, 62%, 41%);