HSL(233, 53%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,53%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 53%, 34%) | color: hsl(233, 53%, 34%) | |
| HEX | #293385 | color: #293385 | |
| RGB | rgb(41, 51, 133) | color: rgb(41, 51, 133) | |
| CMYK | cmyk(69%, 62%, 0%, 48%) | — | |
| HSV | hsv(233, 69%, 52%) | — | |
| HWB | hwb(233 16% 48%) | color: hwb(233 16% 48%) | |
| OKLCH | oklch(0.3662 0.1365 272.42) | color: oklch(0.3662 0.1365 272.42) | |
| Lab | lab(25.36 24.41 -47.33) | color: lab(25.36 24.41 -47.33) | |
| LCH | lch(25.36 53.25 297.28) | color: lch(25.36 53.25 297.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)
#2D2D71 — rgb(45, 45, 113)
Deuteranopia (Green-blind)
#2D2C6C — rgb(45, 44, 108)
Tritanopia (Blue-blind)
#2A615E — rgb(42, 97, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 53%, 34%);
text
color: hsl(233, 53%, 34%);
border
border: 2px solid hsl(233, 53%, 34%);
gradient light
background: linear-gradient(to right, hsl(233, 53%, 54%), hsl(233, 53%, 34%));
gradient dark
background: linear-gradient(to right, hsl(233, 53%, 34%), hsl(233, 53%, 14%))
hex
background-color: #293385;
tailwind
bg-[hsl(233,53%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 53%, 34%, 0.4);
css variable
--color-primary: hsl(233, 53%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 53%, 34%)?
HEX: #293385 | RGB: rgb(41, 51, 133) | CMYK: 69%, 62%, 0%, 48% | HSV: 233°, 69%, 52%. Copy any format from the conversion table above.
What colors go well with #293385?
The complementary color is HSL(53, 53%, 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, 53%, 34%) in CSS?
As HSL: color: hsl(233, 53%, 34%); — As HEX: color: #293385; — As RGB: color: rgb(41, 51, 133); — Tailwind CSS: bg-[hsl(233,53%,34%)] — CSS variable: --color-primary: hsl(233, 53%, 34%);