HSL(244, 50%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,50%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 50%, 24%) | color: hsl(244, 50%, 24%) | |
| HEX | #231F5C | color: #231F5C | |
| RGB | rgb(35, 31, 92) | color: rgb(35, 31, 92) | |
| CMYK | cmyk(62%, 66%, 0%, 64%) | — | |
| HSV | hsv(244, 66%, 36%) | — | |
| HWB | hwb(244 12% 64%) | color: hwb(244 12% 64%) | |
| OKLCH | oklch(0.2853 0.1053 280.31) | color: oklch(0.2853 0.1053 280.31) | |
| Lab | lab(16.05 21.84 -36.06) | color: lab(16.05 21.84 -36.06) | |
| LCH | lch(16.05 42.16 301.2) | color: lch(16.05 42.16 301.2) |
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)
#21214D — rgb(33, 33, 77)
Deuteranopia (Green-blind)
#22224A — rgb(34, 34, 74)
Tritanopia (Blue-blind)
#23423F — rgb(35, 66, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 50%, 24%);
text
color: hsl(244, 50%, 24%);
border
border: 2px solid hsl(244, 50%, 24%);
gradient light
background: linear-gradient(to right, hsl(244, 50%, 44%), hsl(244, 50%, 24%));
gradient dark
background: linear-gradient(to right, hsl(244, 50%, 24%), hsl(244, 50%, 4%))
hex
background-color: #231F5C;
tailwind
bg-[hsl(244,50%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 50%, 24%, 0.4);
css variable
--color-primary: hsl(244, 50%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 50%, 24%)?
HEX: #231F5C | RGB: rgb(35, 31, 92) | CMYK: 62%, 66%, 0%, 64% | HSV: 244°, 66%, 36%. Copy any format from the conversion table above.
What colors go well with #231F5C?
The complementary color is HSL(64, 50%, 24%). For a triadic harmony, use hues 244°, 4°, and 124°. For analogous combinations, try hues 214° and 274°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(244, 50%, 24%) in CSS?
As HSL: color: hsl(244, 50%, 24%); — As HEX: color: #231F5C; — As RGB: color: rgb(35, 31, 92); — Tailwind CSS: bg-[hsl(244,50%,24%)] — CSS variable: --color-primary: hsl(244, 50%, 24%);