HSL(222, 61%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,61%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 61%, 16%) | color: hsl(222, 61%, 16%) | |
| HEX | #101F42 | color: #101F42 | |
| RGB | rgb(16, 31, 66) | color: rgb(16, 31, 66) | |
| CMYK | cmyk(76%, 53%, 0%, 74%) | — | |
| HSV | hsv(222, 76%, 26%) | — | |
| HWB | hwb(222 6% 74%) | color: hwb(222 6% 74%) | |
| OKLCH | oklch(0.2483 0.0694 264.46) | color: oklch(0.2483 0.0694 264.46) | |
| Lab | lab(12.5 7.57 -24.12) | color: lab(12.5 7.57 -24.12) | |
| LCH | lch(12.5 25.28 287.42) | color: lch(12.5 25.28 287.42) |
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)
#16173A — rgb(22, 23, 58)
Deuteranopia (Green-blind)
#161538 — rgb(22, 21, 56)
Tritanopia (Blue-blind)
#113331 — rgb(17, 51, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 61%, 16%);
text
color: hsl(222, 61%, 16%);
border
border: 2px solid hsl(222, 61%, 16%);
gradient light
background: linear-gradient(to right, hsl(222, 61%, 36%), hsl(222, 61%, 16%));
gradient dark
background: linear-gradient(to right, hsl(222, 61%, 16%), hsl(222, 61%, 0%))
hex
background-color: #101F42;
tailwind
bg-[hsl(222,61%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 61%, 16%, 0.4);
css variable
--color-primary: hsl(222, 61%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 61%, 16%)?
HEX: #101F42 | RGB: rgb(16, 31, 66) | CMYK: 76%, 53%, 0%, 74% | HSV: 222°, 76%, 26%. Copy any format from the conversion table above.
What colors go well with #101F42?
The complementary color is HSL(42, 61%, 16%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 61%, 16%) in CSS?
As HSL: color: hsl(222, 61%, 16%); — As HEX: color: #101F42; — As RGB: color: rgb(16, 31, 66); — Tailwind CSS: bg-[hsl(222,61%,16%)] — CSS variable: --color-primary: hsl(222, 61%, 16%);