HSL(243, 50%, 33%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(243,50%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(243, 50%, 33%) | color: hsl(243, 50%, 33%) | |
| HEX | #2E2A7E | color: #2E2A7E | |
| RGB | rgb(46, 42, 126) | color: rgb(46, 42, 126) | |
| CMYK | cmyk(63%, 67%, 0%, 51%) | — | |
| HSV | hsv(243, 67%, 49%) | — | |
| HWB | hwb(243 16% 51%) | color: hwb(243 16% 51%) | |
| OKLCH | oklch(0.3464 0.1371 278.58) | color: oklch(0.3464 0.1371 278.58) | |
| Lab | lab(22.8 28.68 -47.08) | color: lab(22.8 28.68 -47.08) | |
| LCH | lch(22.8 55.13 301.35) | color: lch(22.8 55.13 301.35) |
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)
#2C2C6A — rgb(44, 44, 106)
Deuteranopia (Green-blind)
#2D2D65 — rgb(45, 45, 101)
Tritanopia (Blue-blind)
#2E5A56 — rgb(46, 90, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(243, 50%, 33%);
text
color: hsl(243, 50%, 33%);
border
border: 2px solid hsl(243, 50%, 33%);
gradient light
background: linear-gradient(to right, hsl(243, 50%, 53%), hsl(243, 50%, 33%));
gradient dark
background: linear-gradient(to right, hsl(243, 50%, 33%), hsl(243, 50%, 13%))
hex
background-color: #2E2A7E;
tailwind
bg-[hsl(243,50%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(243, 50%, 33%, 0.4);
css variable
--color-primary: hsl(243, 50%, 33%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(243, 50%, 33%)?
HEX: #2E2A7E | RGB: rgb(46, 42, 126) | CMYK: 63%, 67%, 0%, 51% | HSV: 243°, 67%, 49%. Copy any format from the conversion table above.
What colors go well with #2E2A7E?
The complementary color is HSL(63, 50%, 33%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(243, 50%, 33%) in CSS?
As HSL: color: hsl(243, 50%, 33%); — As HEX: color: #2E2A7E; — As RGB: color: rgb(46, 42, 126); — Tailwind CSS: bg-[hsl(243,50%,33%)] — CSS variable: --color-primary: hsl(243, 50%, 33%);