HSL(233, 63%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,63%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 63%, 23%) | color: hsl(233, 63%, 23%) | |
| HEX | #161E60 | color: #161E60 | |
| RGB | rgb(22, 30, 96) | color: rgb(22, 30, 96) | |
| CMYK | cmyk(77%, 69%, 0%, 62%) | — | |
| HSV | hsv(234, 77%, 38%) | — | |
| HWB | hwb(234 9% 62%) | color: hwb(234 9% 62%) | |
| OKLCH | oklch(0.2776 0.1161 271.14) | color: oklch(0.2776 0.1161 271.14) | |
| Lab | lab(15.19 21.92 -40.18) | color: lab(15.19 21.92 -40.18) | |
| LCH | lch(15.19 45.77 298.61) | color: lch(15.19 45.77 298.61) |
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)
#191A50 — rgb(25, 26, 80)
Deuteranopia (Green-blind)
#19184C — rgb(25, 24, 76)
Tritanopia (Blue-blind)
#164341 — rgb(22, 67, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 63%, 23%);
text
color: hsl(233, 63%, 23%);
border
border: 2px solid hsl(233, 63%, 23%);
gradient light
background: linear-gradient(to right, hsl(233, 63%, 43%), hsl(233, 63%, 23%));
gradient dark
background: linear-gradient(to right, hsl(233, 63%, 23%), hsl(233, 63%, 3%))
hex
background-color: #161E60;
tailwind
bg-[hsl(233,63%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 63%, 23%, 0.4);
css variable
--color-primary: hsl(233, 63%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 63%, 23%)?
HEX: #161E60 | RGB: rgb(22, 30, 96) | CMYK: 77%, 69%, 0%, 62% | HSV: 234°, 77%, 38%. Copy any format from the conversion table above.
What colors go well with #161E60?
The complementary color is HSL(53, 63%, 23%). 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, 63%, 23%) in CSS?
As HSL: color: hsl(233, 63%, 23%); — As HEX: color: #161E60; — As RGB: color: rgb(22, 30, 96); — Tailwind CSS: bg-[hsl(233,63%,23%)] — CSS variable: --color-primary: hsl(233, 63%, 23%);