HSL(233, 53%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,53%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 53%, 22%) | color: hsl(233, 53%, 22%) | |
| HEX | #1A2156 | color: #1A2156 | |
| RGB | rgb(26, 33, 86) | color: rgb(26, 33, 86) | |
| CMYK | cmyk(70%, 62%, 0%, 66%) | — | |
| HSV | hsv(233, 70%, 34%) | — | |
| HWB | hwb(233 10% 66%) | color: hwb(233 10% 66%) | |
| OKLCH | oklch(0.2769 0.0955 272.82) | color: oklch(0.2769 0.0955 272.82) | |
| Lab | lab(15.38 16.35 -33.17) | color: lab(15.38 16.35 -33.17) | |
| LCH | lch(15.38 36.98 296.24) | color: lch(15.38 36.98 296.24) |
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)
#1D1D49 — rgb(29, 29, 73)
Deuteranopia (Green-blind)
#1D1C46 — rgb(29, 28, 70)
Tritanopia (Blue-blind)
#1A3F3D — rgb(26, 63, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 53%, 22%);
text
color: hsl(233, 53%, 22%);
border
border: 2px solid hsl(233, 53%, 22%);
gradient light
background: linear-gradient(to right, hsl(233, 53%, 42%), hsl(233, 53%, 22%));
gradient dark
background: linear-gradient(to right, hsl(233, 53%, 22%), hsl(233, 53%, 2%))
hex
background-color: #1A2156;
tailwind
bg-[hsl(233,53%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 53%, 22%, 0.4);
css variable
--color-primary: hsl(233, 53%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 53%, 22%)?
HEX: #1A2156 | RGB: rgb(26, 33, 86) | CMYK: 70%, 62%, 0%, 66% | HSV: 233°, 70%, 34%. Copy any format from the conversion table above.
What colors go well with #1A2156?
The complementary color is HSL(53, 53%, 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, 53%, 22%) in CSS?
As HSL: color: hsl(233, 53%, 22%); — As HEX: color: #1A2156; — As RGB: color: rgb(26, 33, 86); — Tailwind CSS: bg-[hsl(233,53%,22%)] — CSS variable: --color-primary: hsl(233, 53%, 22%);