HSL(233, 31%, 31%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,31%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 31%, 31%) | color: hsl(233, 31%, 31%) | |
| HEX | #373C68 | color: #373C68 | |
| RGB | rgb(55, 60, 104) | color: rgb(55, 60, 104) | |
| CMYK | cmyk(47%, 42%, 0%, 59%) | — | |
| HSV | hsv(234, 47%, 41%) | — | |
| HWB | hwb(234 22% 59%) | color: hwb(234 22% 59%) | |
| OKLCH | oklch(0.3735 0.0753 277.19) | color: oklch(0.3735 0.0753 277.19) | |
| Lab | lab(26.86 10.86 -26.49) | color: lab(26.86 10.86 -26.49) | |
| LCH | lch(26.86 28.63 292.29) | color: lch(26.86 28.63 292.29) |
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)
#39395D — rgb(57, 57, 93)
Deuteranopia (Green-blind)
#39395B — rgb(57, 57, 91)
Tritanopia (Blue-blind)
#375553 — rgb(55, 85, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 31%, 31%);
text
color: hsl(233, 31%, 31%);
border
border: 2px solid hsl(233, 31%, 31%);
gradient light
background: linear-gradient(to right, hsl(233, 31%, 51%), hsl(233, 31%, 31%));
gradient dark
background: linear-gradient(to right, hsl(233, 31%, 31%), hsl(233, 31%, 11%))
hex
background-color: #373C68;
tailwind
bg-[hsl(233,31%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 31%, 31%, 0.4);
css variable
--color-primary: hsl(233, 31%, 31%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 31%, 31%)?
HEX: #373C68 | RGB: rgb(55, 60, 104) | CMYK: 47%, 42%, 0%, 59% | HSV: 234°, 47%, 41%. Copy any format from the conversion table above.
What colors go well with #373C68?
The complementary color is HSL(53, 31%, 31%). 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, 31%, 31%) in CSS?
As HSL: color: hsl(233, 31%, 31%); — As HEX: color: #373C68; — As RGB: color: rgb(55, 60, 104); — Tailwind CSS: bg-[hsl(233,31%,31%)] — CSS variable: --color-primary: hsl(233, 31%, 31%);