HSL(222, 40%, 43%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,40%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 40%, 43%) | color: hsl(222, 40%, 43%) | |
| HEX | #425C9A | color: #425C9A | |
| RGB | rgb(66, 92, 154) | color: rgb(66, 92, 154) | |
| CMYK | cmyk(57%, 40%, 0%, 40%) | — | |
| HSV | hsv(222, 57%, 60%) | — | |
| HWB | hwb(222 26% 40%) | color: hwb(222 26% 40%) | |
| OKLCH | oklch(0.4845 0.1048 265.5) | color: oklch(0.4845 0.1048 265.5) | |
| Lab | lab(39.82 9.55 -36.85) | color: lab(39.82 9.55 -36.85) | |
| LCH | lch(39.82 38.07 284.53) | color: lch(39.82 38.07 284.53) |
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)
#4D4D8B — rgb(77, 77, 139)
Deuteranopia (Green-blind)
#4C4A87 — rgb(76, 74, 135)
Tritanopia (Blue-blind)
#437F7D — rgb(67, 127, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 40%, 43%);
text
color: hsl(222, 40%, 43%);
border
border: 2px solid hsl(222, 40%, 43%);
gradient light
background: linear-gradient(to right, hsl(222, 40%, 63%), hsl(222, 40%, 43%));
gradient dark
background: linear-gradient(to right, hsl(222, 40%, 43%), hsl(222, 40%, 23%))
hex
background-color: #425C9A;
tailwind
bg-[hsl(222,40%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 40%, 43%, 0.4);
css variable
--color-primary: hsl(222, 40%, 43%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 40%, 43%)?
HEX: #425C9A | RGB: rgb(66, 92, 154) | CMYK: 57%, 40%, 0%, 40% | HSV: 222°, 57%, 60%. Copy any format from the conversion table above.
What colors go well with #425C9A?
The complementary color is HSL(42, 40%, 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, 40%, 43%) in CSS?
As HSL: color: hsl(222, 40%, 43%); — As HEX: color: #425C9A; — As RGB: color: rgb(66, 92, 154); — Tailwind CSS: bg-[hsl(222,40%,43%)] — CSS variable: --color-primary: hsl(222, 40%, 43%);