HSL(233, 65%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,65%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 65%, 22%) | color: hsl(233, 65%, 22%) | |
| HEX | #141C5D | color: #141C5D | |
| RGB | rgb(20, 28, 93) | color: rgb(20, 28, 93) | |
| CMYK | cmyk(78%, 70%, 0%, 64%) | — | |
| HSV | hsv(233, 78%, 36%) | — | |
| HWB | hwb(233 8% 64%) | color: hwb(233 8% 64%) | |
| OKLCH | oklch(0.2694 0.1149 270.83) | color: oklch(0.2694 0.1149 270.83) | |
| Lab | lab(14.23 21.88 -39.76) | color: lab(14.23 21.88 -39.76) | |
| LCH | lch(14.23 45.38 298.82) | color: lch(14.23 45.38 298.82) |
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)
#17184D — rgb(23, 24, 77)
Deuteranopia (Green-blind)
#17164A — rgb(23, 22, 74)
Tritanopia (Blue-blind)
#14413E — rgb(20, 65, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 65%, 22%);
text
color: hsl(233, 65%, 22%);
border
border: 2px solid hsl(233, 65%, 22%);
gradient light
background: linear-gradient(to right, hsl(233, 65%, 42%), hsl(233, 65%, 22%));
gradient dark
background: linear-gradient(to right, hsl(233, 65%, 22%), hsl(233, 65%, 2%))
hex
background-color: #141C5D;
tailwind
bg-[hsl(233,65%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 65%, 22%, 0.4);
css variable
--color-primary: hsl(233, 65%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 65%, 22%)?
HEX: #141C5D | RGB: rgb(20, 28, 93) | CMYK: 78%, 70%, 0%, 64% | HSV: 233°, 78%, 36%. Copy any format from the conversion table above.
What colors go well with #141C5D?
The complementary color is HSL(53, 65%, 22%). 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%, 22%) in CSS?
As HSL: color: hsl(233, 65%, 22%); — As HEX: color: #141C5D; — As RGB: color: rgb(20, 28, 93); — Tailwind CSS: bg-[hsl(233,65%,22%)] — CSS variable: --color-primary: hsl(233, 65%, 22%);