HSL(233, 65%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,65%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 65%, 23%) | color: hsl(233, 65%, 23%) | |
| HEX | #151D61 | color: #151D61 | |
| RGB | rgb(21, 29, 97) | color: rgb(21, 29, 97) | |
| CMYK | cmyk(78%, 70%, 0%, 62%) | — | |
| HSV | hsv(234, 78%, 38%) | — | |
| HWB | hwb(234 8% 62%) | color: hwb(234 8% 62%) | |
| OKLCH | oklch(0.2761 0.1192 270.86) | color: oklch(0.2761 0.1192 270.86) | |
| Lab | lab(14.96 22.9 -41.22) | color: lab(14.96 22.9 -41.22) | |
| LCH | lch(14.96 47.15 299.05) | color: lch(14.96 47.15 299.05) |
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)
#181951 — rgb(24, 25, 81)
Deuteranopia (Green-blind)
#18174D — rgb(24, 23, 77)
Tritanopia (Blue-blind)
#154441 — rgb(21, 68, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 65%, 23%);
text
color: hsl(233, 65%, 23%);
border
border: 2px solid hsl(233, 65%, 23%);
gradient light
background: linear-gradient(to right, hsl(233, 65%, 43%), hsl(233, 65%, 23%));
gradient dark
background: linear-gradient(to right, hsl(233, 65%, 23%), hsl(233, 65%, 3%))
hex
background-color: #151D61;
tailwind
bg-[hsl(233,65%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 65%, 23%, 0.4);
css variable
--color-primary: hsl(233, 65%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 65%, 23%)?
HEX: #151D61 | RGB: rgb(21, 29, 97) | CMYK: 78%, 70%, 0%, 62% | HSV: 234°, 78%, 38%. Copy any format from the conversion table above.
What colors go well with #151D61?
The complementary color is HSL(53, 65%, 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, 65%, 23%) in CSS?
As HSL: color: hsl(233, 65%, 23%); — As HEX: color: #151D61; — As RGB: color: rgb(21, 29, 97); — Tailwind CSS: bg-[hsl(233,65%,23%)] — CSS variable: --color-primary: hsl(233, 65%, 23%);