HSL(222, 50%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,50%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 50%, 48%) | color: hsl(222, 50%, 48%) | |
| HEX | #3D62B8 | color: #3D62B8 | |
| RGB | rgb(61, 98, 184) | color: rgb(61, 98, 184) | |
| CMYK | cmyk(67%, 47%, 0%, 28%) | — | |
| HSV | hsv(222, 67%, 72%) | — | |
| HWB | hwb(222 24% 28%) | color: hwb(222 24% 28%) | |
| OKLCH | oklch(0.5143 0.1422 264.45) | color: oklch(0.5143 0.1422 264.45) | |
| Lab | lab(43.04 15.35 -49.45) | color: lab(43.04 15.35 -49.45) | |
| LCH | lch(43.04 51.78 287.25) | color: lch(43.04 51.78 287.25) |
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)
#4D4DA3 — rgb(77, 77, 163)
Deuteranopia (Green-blind)
#4B489E — rgb(75, 72, 158)
Tritanopia (Blue-blind)
#3F938F — rgb(63, 147, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 50%, 48%);
text
color: hsl(222, 50%, 48%);
border
border: 2px solid hsl(222, 50%, 48%);
gradient light
background: linear-gradient(to right, hsl(222, 50%, 68%), hsl(222, 50%, 48%));
gradient dark
background: linear-gradient(to right, hsl(222, 50%, 48%), hsl(222, 50%, 28%))
hex
background-color: #3D62B8;
tailwind
bg-[hsl(222,50%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 50%, 48%, 0.4);
css variable
--color-primary: hsl(222, 50%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 50%, 48%)?
HEX: #3D62B8 | RGB: rgb(61, 98, 184) | CMYK: 67%, 47%, 0%, 28% | HSV: 222°, 67%, 72%. Copy any format from the conversion table above.
What colors go well with #3D62B8?
The complementary color is HSL(42, 50%, 48%). 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, 50%, 48%) in CSS?
As HSL: color: hsl(222, 50%, 48%); — As HEX: color: #3D62B8; — As RGB: color: rgb(61, 98, 184); — Tailwind CSS: bg-[hsl(222,50%,48%)] — CSS variable: --color-primary: hsl(222, 50%, 48%);