HSL(222, 66%, 43%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,66%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 66%, 43%) | color: hsl(222, 66%, 43%) | |
| HEX | #2551B6 | color: #2551B6 | |
| RGB | rgb(37, 81, 182) | color: rgb(37, 81, 182) | |
| CMYK | cmyk(80%, 55%, 0%, 29%) | — | |
| HSV | hsv(222, 80%, 71%) | — | |
| HWB | hwb(222 14% 29%) | color: hwb(222 14% 29%) | |
| OKLCH | oklch(0.4667 0.1677 263.5) | color: oklch(0.4667 0.1677 263.5) | |
| Lab | lab(37.21 22.47 -57.74) | color: lab(37.21 22.47 -57.74) | |
| LCH | lch(37.21 61.96 291.26) | color: lch(37.21 61.96 291.26) |
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)
#38389E — rgb(56, 56, 158)
Deuteranopia (Green-blind)
#363298 — rgb(54, 50, 152)
Tritanopia (Blue-blind)
#278A86 — rgb(39, 138, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 66%, 43%);
text
color: hsl(222, 66%, 43%);
border
border: 2px solid hsl(222, 66%, 43%);
gradient light
background: linear-gradient(to right, hsl(222, 66%, 63%), hsl(222, 66%, 43%));
gradient dark
background: linear-gradient(to right, hsl(222, 66%, 43%), hsl(222, 66%, 23%))
hex
background-color: #2551B6;
tailwind
bg-[hsl(222,66%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 66%, 43%, 0.4);
css variable
--color-primary: hsl(222, 66%, 43%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 66%, 43%)?
HEX: #2551B6 | RGB: rgb(37, 81, 182) | CMYK: 80%, 55%, 0%, 29% | HSV: 222°, 80%, 71%. Copy any format from the conversion table above.
What colors go well with #2551B6?
The complementary color is HSL(42, 66%, 43%). 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, 66%, 43%) in CSS?
As HSL: color: hsl(222, 66%, 43%); — As HEX: color: #2551B6; — As RGB: color: rgb(37, 81, 182); — Tailwind CSS: bg-[hsl(222,66%,43%)] — CSS variable: --color-primary: hsl(222, 66%, 43%);