HSL(201, 46%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(201,46%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(201, 46%, 22%) | color: hsl(201, 46%, 22%) | |
| HEX | #1E4052 | color: #1E4052 | |
| RGB | rgb(30, 64, 82) | color: rgb(30, 64, 82) | |
| CMYK | cmyk(63%, 22%, 0%, 68%) | — | |
| HSV | hsv(201, 63%, 32%) | — | |
| HWB | hwb(201 12% 68%) | color: hwb(201 12% 68%) | |
| OKLCH | oklch(0.3544 0.0505 233.79) | color: oklch(0.3544 0.0505 233.79) | |
| Lab | lab(25.42 -6.2 -14.58) | color: lab(25.42 -6.2 -14.58) | |
| LCH | lch(25.42 15.84 246.96) | color: lch(25.42 15.84 246.96) |
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)
#2D2D4E — rgb(45, 45, 78)
Deuteranopia (Green-blind)
#2B284D — rgb(43, 40, 77)
Tritanopia (Blue-blind)
#204A49 — rgb(32, 74, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(201, 46%, 22%);
text
color: hsl(201, 46%, 22%);
border
border: 2px solid hsl(201, 46%, 22%);
gradient light
background: linear-gradient(to right, hsl(201, 46%, 42%), hsl(201, 46%, 22%));
gradient dark
background: linear-gradient(to right, hsl(201, 46%, 22%), hsl(201, 46%, 2%))
hex
background-color: #1E4052;
tailwind
bg-[hsl(201,46%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(201, 46%, 22%, 0.4);
css variable
--color-primary: hsl(201, 46%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(201, 46%, 22%)?
HEX: #1E4052 | RGB: rgb(30, 64, 82) | CMYK: 63%, 22%, 0%, 68% | HSV: 201°, 63%, 32%. Copy any format from the conversion table above.
What colors go well with #1E4052?
The complementary color is HSL(21, 46%, 22%). For a triadic harmony, use hues 201°, 321°, and 81°. For analogous combinations, try hues 171° and 231°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(201, 46%, 22%) in CSS?
As HSL: color: hsl(201, 46%, 22%); — As HEX: color: #1E4052; — As RGB: color: rgb(30, 64, 82); — Tailwind CSS: bg-[hsl(201,46%,22%)] — CSS variable: --color-primary: hsl(201, 46%, 22%);