HSL(223, 40%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(223,40%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(223, 40%, 56%) | color: hsl(223, 40%, 56%) | |
| HEX | #627BBC | color: #627BBC | |
| RGB | rgb(98, 123, 188) | color: rgb(98, 123, 188) | |
| CMYK | cmyk(48%, 35%, 0%, 26%) | — | |
| HSV | hsv(223, 48%, 74%) | — | |
| HWB | hwb(223 38% 26%) | color: hwb(223 38% 26%) | |
| OKLCH | oklch(0.5916 0.1042 267.22) | color: oklch(0.5916 0.1042 267.22) | |
| Lab | lab(52.28 8.9 -36.98) | color: lab(52.28 8.9 -36.98) | |
| LCH | lch(52.28 38.04 283.53) | color: lch(52.28 38.04 283.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6D6DAC — rgb(109, 109, 172)
Deuteranopia (Green-blind)
#6B6AA9 — rgb(107, 106, 169)
Tritanopia (Blue-blind)
#63A09D — rgb(99, 160, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(223, 40%, 56%);
text
color: hsl(223, 40%, 56%);
border
border: 2px solid hsl(223, 40%, 56%);
gradient light
background: linear-gradient(to right, hsl(223, 40%, 76%), hsl(223, 40%, 56%));
gradient dark
background: linear-gradient(to right, hsl(223, 40%, 56%), hsl(223, 40%, 36%))
hex
background-color: #627BBC;
tailwind
bg-[hsl(223,40%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(223, 40%, 56%, 0.4);
css variable
--color-primary: hsl(223, 40%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(223, 40%, 56%)?
HEX: #627BBC | RGB: rgb(98, 123, 188) | CMYK: 48%, 35%, 0%, 26% | HSV: 223°, 48%, 74%. Copy any format from the conversion table above.
What colors go well with #627BBC?
The complementary color is HSL(43, 40%, 56%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(223, 40%, 56%) in CSS?
As HSL: color: hsl(223, 40%, 56%); — As HEX: color: #627BBC; — As RGB: color: rgb(98, 123, 188); — Tailwind CSS: bg-[hsl(223,40%,56%)] — CSS variable: --color-primary: hsl(223, 40%, 56%);