HSL(222, 67%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,67%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 67%, 38%) | color: hsl(222, 67%, 38%) | |
| HEX | #2047A2 | color: #2047A2 | |
| RGB | rgb(32, 71, 162) | color: rgb(32, 71, 162) | |
| CMYK | cmyk(80%, 56%, 0%, 36%) | — | |
| HSV | hsv(222, 80%, 64%) | — | |
| HWB | hwb(222 13% 36%) | color: hwb(222 13% 36%) | |
| OKLCH | oklch(0.4277 0.1542 263.65) | color: oklch(0.4277 0.1542 263.65) | |
| Lab | lab(32.75 20.85 -53.11) | color: lab(32.75 20.85 -53.11) | |
| LCH | lch(32.75 57.06 291.43) | color: lch(32.75 57.06 291.43) |
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)
#31318C — rgb(49, 49, 140)
Deuteranopia (Green-blind)
#2F2C87 — rgb(47, 44, 135)
Tritanopia (Blue-blind)
#227B77 — rgb(34, 123, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 67%, 38%);
text
color: hsl(222, 67%, 38%);
border
border: 2px solid hsl(222, 67%, 38%);
gradient light
background: linear-gradient(to right, hsl(222, 67%, 58%), hsl(222, 67%, 38%));
gradient dark
background: linear-gradient(to right, hsl(222, 67%, 38%), hsl(222, 67%, 18%))
hex
background-color: #2047A2;
tailwind
bg-[hsl(222,67%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 67%, 38%, 0.4);
css variable
--color-primary: hsl(222, 67%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 67%, 38%)?
HEX: #2047A2 | RGB: rgb(32, 71, 162) | CMYK: 80%, 56%, 0%, 36% | HSV: 222°, 80%, 64%. Copy any format from the conversion table above.
What colors go well with #2047A2?
The complementary color is HSL(42, 67%, 38%). 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, 67%, 38%) in CSS?
As HSL: color: hsl(222, 67%, 38%); — As HEX: color: #2047A2; — As RGB: color: rgb(32, 71, 162); — Tailwind CSS: bg-[hsl(222,67%,38%)] — CSS variable: --color-primary: hsl(222, 67%, 38%);