HSL(233, 41%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,41%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 41%, 30%) | color: hsl(233, 41%, 30%) | |
| HEX | #2D346C | color: #2D346C | |
| RGB | rgb(45, 52, 108) | color: rgb(45, 52, 108) | |
| CMYK | cmyk(58%, 52%, 0%, 58%) | — | |
| HSV | hsv(233, 58%, 42%) | — | |
| HWB | hwb(233 18% 58%) | color: hwb(233 18% 58%) | |
| OKLCH | oklch(0.3505 0.0965 274.93) | color: oklch(0.3505 0.0965 274.93) | |
| Lab | lab(23.99 15.19 -33.68) | color: lab(23.99 15.19 -33.68) | |
| LCH | lch(23.99 36.95 294.28) | color: lch(23.99 36.95 294.28) |
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)
#30305E — rgb(48, 48, 94)
Deuteranopia (Green-blind)
#302F5B — rgb(48, 47, 91)
Tritanopia (Blue-blind)
#2D5451 — rgb(45, 84, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 41%, 30%);
text
color: hsl(233, 41%, 30%);
border
border: 2px solid hsl(233, 41%, 30%);
gradient light
background: linear-gradient(to right, hsl(233, 41%, 50%), hsl(233, 41%, 30%));
gradient dark
background: linear-gradient(to right, hsl(233, 41%, 30%), hsl(233, 41%, 10%))
hex
background-color: #2D346C;
tailwind
bg-[hsl(233,41%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 41%, 30%, 0.4);
css variable
--color-primary: hsl(233, 41%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 41%, 30%)?
HEX: #2D346C | RGB: rgb(45, 52, 108) | CMYK: 58%, 52%, 0%, 58% | HSV: 233°, 58%, 42%. Copy any format from the conversion table above.
What colors go well with #2D346C?
The complementary color is HSL(53, 41%, 30%). 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, 41%, 30%) in CSS?
As HSL: color: hsl(233, 41%, 30%); — As HEX: color: #2D346C; — As RGB: color: rgb(45, 52, 108); — Tailwind CSS: bg-[hsl(233,41%,30%)] — CSS variable: --color-primary: hsl(233, 41%, 30%);