HSL(220, 62%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(220,62%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(220, 62%, 62%) | color: hsl(220, 62%, 62%) | |
| HEX | #628ADA | color: #628ADA | |
| RGB | rgb(98, 138, 218) | color: rgb(98, 138, 218) | |
| CMYK | cmyk(55%, 37%, 0%, 15%) | — | |
| HSV | hsv(220, 55%, 85%) | — | |
| HWB | hwb(220 38% 15%) | color: hwb(220 38% 15%) | |
| OKLCH | oklch(0.6399 0.1287 263.1) | color: oklch(0.6399 0.1287 263.1) | |
| Lab | lab(57.88 9.33 -45.15) | color: lab(57.88 9.33 -45.15) | |
| LCH | lch(57.88 46.1 281.68) | color: lch(57.88 46.1 281.68) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7374C7 — rgb(115, 116, 199)
Deuteranopia (Green-blind)
#716EC2 — rgb(113, 110, 194)
Tritanopia (Blue-blind)
#64B7B4 — rgb(100, 183, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(220, 62%, 62%);
text
color: hsl(220, 62%, 62%);
border
border: 2px solid hsl(220, 62%, 62%);
gradient light
background: linear-gradient(to right, hsl(220, 62%, 82%), hsl(220, 62%, 62%));
gradient dark
background: linear-gradient(to right, hsl(220, 62%, 62%), hsl(220, 62%, 42%))
hex
background-color: #628ADA;
tailwind
bg-[hsl(220,62%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(220, 62%, 62%, 0.4);
css variable
--color-primary: hsl(220, 62%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(220, 62%, 62%)?
HEX: #628ADA | RGB: rgb(98, 138, 218) | CMYK: 55%, 37%, 0%, 15% | HSV: 220°, 55%, 85%. Copy any format from the conversion table above.
What colors go well with #628ADA?
The complementary color is HSL(40, 62%, 62%). For a triadic harmony, use hues 220°, 340°, and 100°. For analogous combinations, try hues 190° and 250°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(220, 62%, 62%) in CSS?
As HSL: color: hsl(220, 62%, 62%); — As HEX: color: #628ADA; — As RGB: color: rgb(98, 138, 218); — Tailwind CSS: bg-[hsl(220,62%,62%)] — CSS variable: --color-primary: hsl(220, 62%, 62%);