HSL(233, 48%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,48%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 48%, 34%) | color: hsl(233, 48%, 34%) | |
| HEX | #2D3780 | color: #2D3780 | |
| RGB | rgb(45, 55, 128) | color: rgb(45, 55, 128) | |
| CMYK | cmyk(65%, 57%, 0%, 50%) | — | |
| HSV | hsv(233, 65%, 50%) | — | |
| HWB | hwb(233 18% 50%) | color: hwb(233 18% 50%) | |
| OKLCH | oklch(0.3726 0.1227 273.06) | color: oklch(0.3726 0.1227 273.06) | |
| Lab | lab(26.3 20.49 -42.66) | color: lab(26.3 20.49 -42.66) | |
| LCH | lch(26.3 47.33 295.66) | color: lch(26.3 47.33 295.66) |
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)
#31316E — rgb(49, 49, 110)
Deuteranopia (Green-blind)
#31306A — rgb(49, 48, 106)
Tritanopia (Blue-blind)
#2E605D — rgb(46, 96, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 48%, 34%);
text
color: hsl(233, 48%, 34%);
border
border: 2px solid hsl(233, 48%, 34%);
gradient light
background: linear-gradient(to right, hsl(233, 48%, 54%), hsl(233, 48%, 34%));
gradient dark
background: linear-gradient(to right, hsl(233, 48%, 34%), hsl(233, 48%, 14%))
hex
background-color: #2D3780;
tailwind
bg-[hsl(233,48%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 48%, 34%, 0.4);
css variable
--color-primary: hsl(233, 48%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 48%, 34%)?
HEX: #2D3780 | RGB: rgb(45, 55, 128) | CMYK: 65%, 57%, 0%, 50% | HSV: 233°, 65%, 50%. Copy any format from the conversion table above.
What colors go well with #2D3780?
The complementary color is HSL(53, 48%, 34%). 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, 48%, 34%) in CSS?
As HSL: color: hsl(233, 48%, 34%); — As HEX: color: #2D3780; — As RGB: color: rgb(45, 55, 128); — Tailwind CSS: bg-[hsl(233,48%,34%)] — CSS variable: --color-primary: hsl(233, 48%, 34%);