HSL(232, 63%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,63%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 63%, 24%) | color: hsl(232, 63%, 24%) | |
| HEX | #172164 | color: #172164 | |
| RGB | rgb(23, 33, 100) | color: rgb(23, 33, 100) | |
| CMYK | cmyk(77%, 67%, 0%, 61%) | — | |
| HSV | hsv(232, 77%, 39%) | — | |
| HWB | hwb(232 9% 61%) | color: hwb(232 9% 61%) | |
| OKLCH | oklch(0.2883 0.1177 270.47) | color: oklch(0.2883 0.1177 270.47) | |
| Lab | lab(16.45 21.51 -40.75) | color: lab(16.45 21.51 -40.75) | |
| LCH | lch(16.45 46.08 297.83) | color: lch(16.45 46.08 297.83) |
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)
#1B1B54 — rgb(27, 27, 84)
Deuteranopia (Green-blind)
#1B1A50 — rgb(27, 26, 80)
Tritanopia (Blue-blind)
#184744 — rgb(24, 71, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 63%, 24%);
text
color: hsl(232, 63%, 24%);
border
border: 2px solid hsl(232, 63%, 24%);
gradient light
background: linear-gradient(to right, hsl(232, 63%, 44%), hsl(232, 63%, 24%));
gradient dark
background: linear-gradient(to right, hsl(232, 63%, 24%), hsl(232, 63%, 4%))
hex
background-color: #172164;
tailwind
bg-[hsl(232,63%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 63%, 24%, 0.4);
css variable
--color-primary: hsl(232, 63%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 63%, 24%)?
HEX: #172164 | RGB: rgb(23, 33, 100) | CMYK: 77%, 67%, 0%, 61% | HSV: 232°, 77%, 39%. Copy any format from the conversion table above.
What colors go well with #172164?
The complementary color is HSL(52, 63%, 24%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 63%, 24%) in CSS?
As HSL: color: hsl(232, 63%, 24%); — As HEX: color: #172164; — As RGB: color: rgb(23, 33, 100); — Tailwind CSS: bg-[hsl(232,63%,24%)] — CSS variable: --color-primary: hsl(232, 63%, 24%);