HSL(233, 21%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,21%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 21%, 25%) | color: hsl(233, 21%, 25%) | |
| HEX | #32354D | color: #32354D | |
| RGB | rgb(50, 53, 77) | color: rgb(50, 53, 77) | |
| CMYK | cmyk(35%, 31%, 0%, 70%) | — | |
| HSV | hsv(233, 35%, 30%) | — | |
| HWB | hwb(233 20% 70%) | color: hwb(233 20% 70%) | |
| OKLCH | oklch(0.337 0.0424 278.36) | color: oklch(0.337 0.0424 278.36) | |
| Lab | lab(22.86 5.36 -15.12) | color: lab(22.86 5.36 -15.12) | |
| LCH | lch(22.86 16.04 289.52) | color: lch(22.86 16.04 289.52) |
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)
#333347 — rgb(51, 51, 71)
Deuteranopia (Green-blind)
#333346 — rgb(51, 51, 70)
Tritanopia (Blue-blind)
#324342 — rgb(50, 67, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 21%, 25%);
text
color: hsl(233, 21%, 25%);
border
border: 2px solid hsl(233, 21%, 25%);
gradient light
background: linear-gradient(to right, hsl(233, 21%, 45%), hsl(233, 21%, 25%));
gradient dark
background: linear-gradient(to right, hsl(233, 21%, 25%), hsl(233, 21%, 5%))
hex
background-color: #32354D;
tailwind
bg-[hsl(233,21%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 21%, 25%, 0.4);
css variable
--color-primary: hsl(233, 21%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 21%, 25%)?
HEX: #32354D | RGB: rgb(50, 53, 77) | CMYK: 35%, 31%, 0%, 70% | HSV: 233°, 35%, 30%. Copy any format from the conversion table above.
What colors go well with #32354D?
The complementary color is HSL(53, 21%, 25%). 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, 21%, 25%) in CSS?
As HSL: color: hsl(233, 21%, 25%); — As HEX: color: #32354D; — As RGB: color: rgb(50, 53, 77); — Tailwind CSS: bg-[hsl(233,21%,25%)] — CSS variable: --color-primary: hsl(233, 21%, 25%);