HSL(233, 53%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,53%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 53%, 38%) | color: hsl(233, 53%, 38%) | |
| HEX | #2E3A94 | color: #2E3A94 | |
| RGB | rgb(46, 58, 148) | color: rgb(46, 58, 148) | |
| CMYK | cmyk(69%, 61%, 0%, 42%) | — | |
| HSV | hsv(233, 69%, 58%) | — | |
| HWB | hwb(233 18% 42%) | color: hwb(233 18% 42%) | |
| OKLCH | oklch(0.3961 0.1473 272.04) | color: oklch(0.3961 0.1473 272.04) | |
| Lab | lab(28.76 26.05 -51.06) | color: lab(28.76 26.05 -51.06) | |
| LCH | lch(28.76 57.32 297.03) | color: lch(28.76 57.32 297.03) |
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)
#33337E — rgb(51, 51, 126)
Deuteranopia (Green-blind)
#333279 — rgb(51, 50, 121)
Tritanopia (Blue-blind)
#2F6D69 — rgb(47, 109, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 53%, 38%);
text
color: hsl(233, 53%, 38%);
border
border: 2px solid hsl(233, 53%, 38%);
gradient light
background: linear-gradient(to right, hsl(233, 53%, 58%), hsl(233, 53%, 38%));
gradient dark
background: linear-gradient(to right, hsl(233, 53%, 38%), hsl(233, 53%, 18%))
hex
background-color: #2E3A94;
tailwind
bg-[hsl(233,53%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 53%, 38%, 0.4);
css variable
--color-primary: hsl(233, 53%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 53%, 38%)?
HEX: #2E3A94 | RGB: rgb(46, 58, 148) | CMYK: 69%, 61%, 0%, 42% | HSV: 233°, 69%, 58%. Copy any format from the conversion table above.
What colors go well with #2E3A94?
The complementary color is HSL(53, 53%, 38%). 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, 53%, 38%) in CSS?
As HSL: color: hsl(233, 53%, 38%); — As HEX: color: #2E3A94; — As RGB: color: rgb(46, 58, 148); — Tailwind CSS: bg-[hsl(233,53%,38%)] — CSS variable: --color-primary: hsl(233, 53%, 38%);