HSL(237, 63%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,63%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 63%, 24%) | color: hsl(237, 63%, 24%) | |
| HEX | #171A64 | color: #171A64 | |
| RGB | rgb(23, 26, 100) | color: rgb(23, 26, 100) | |
| CMYK | cmyk(77%, 74%, 0%, 61%) | — | |
| HSV | hsv(238, 77%, 39%) | — | |
| HWB | hwb(238 9% 61%) | color: hwb(238 9% 61%) | |
| OKLCH | oklch(0.275 0.1267 272.66) | color: oklch(0.275 0.1267 272.66) | |
| Lab | lab(14.63 26.39 -43.74) | color: lab(14.63 26.39 -43.74) | |
| LCH | lch(14.63 51.08 301.1) | color: lch(14.63 51.08 301.1) |
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)
#181852 — rgb(24, 24, 82)
Deuteranopia (Green-blind)
#18184E — rgb(24, 24, 78)
Tritanopia (Blue-blind)
#174441 — rgb(23, 68, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 63%, 24%);
text
color: hsl(237, 63%, 24%);
border
border: 2px solid hsl(237, 63%, 24%);
gradient light
background: linear-gradient(to right, hsl(237, 63%, 44%), hsl(237, 63%, 24%));
gradient dark
background: linear-gradient(to right, hsl(237, 63%, 24%), hsl(237, 63%, 4%))
hex
background-color: #171A64;
tailwind
bg-[hsl(237,63%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 63%, 24%, 0.4);
css variable
--color-primary: hsl(237, 63%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 63%, 24%)?
HEX: #171A64 | RGB: rgb(23, 26, 100) | CMYK: 77%, 74%, 0%, 61% | HSV: 238°, 77%, 39%. Copy any format from the conversion table above.
What colors go well with #171A64?
The complementary color is HSL(57, 63%, 24%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 63%, 24%) in CSS?
As HSL: color: hsl(237, 63%, 24%); — As HEX: color: #171A64; — As RGB: color: rgb(23, 26, 100); — Tailwind CSS: bg-[hsl(237,63%,24%)] — CSS variable: --color-primary: hsl(237, 63%, 24%);