#5782C8#5782C8
#5782C8 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 60.7% C 0.117 H 259.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5782C8 |
|---|---|
| RGB | rgb(87, 130, 200) |
| HSL | hsl(217, 51%, 56%) |
| HSV | hsv(217, 57%, 78%) |
| CMYK | cmyk(56.5%, 35%, 0%, 21.6%) |
| CIE-LAB | lab(54.20, 5.97, -40.85) |
| CIE-LCH | lch(54.20, 41.28, 278.32°) |
| OKLab | oklab(60.68% -0.0209 -0.1155) |
| OKLCH | oklch(60.68% 0.117 259.7) |
| XYZ | xyz(22.3348, 22.1598, 57.7327) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.95
Off Blue
#5684AE
ΔE00 4.23
Cool Blue
#4984B8
ΔE00 4.57
Dusty Blue
#5A86AD
ΔE00 4.60
Soft Blue
#6488EA
ΔE00 4.94
Dodger Blue
#3E82FC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5782C8 #C89D57
analogous
#57BBC8 #5782C8 #6557C8
triadic
#5782C8 #C85782 #82C857
tetradic
#5782C8 #C857BB #C89D57 #57C865
square
#5782C8 #C857BB #C89D57 #57C865
split-complementary
#5782C8 #C86557 #BBC857
monochromatic
#29487C #3863AA #5782C8 #85A4D7 #B3C7E6
Accessibility & contrast
On white
3.87
#5782C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5782C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5782C8
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5782C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5782C8 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6587CB
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5782c8; /* rgb */ color: rgb(87, 130, 200); /* oklch */ color: oklch(60.7% 0.117 259.7);
Tailwind
colors: {
custom: {
50: '#8ea6d9',
500: '#5782c8',
950: '#000000',
},
}SCSS
$custom: #5782c8; $custom-light: #8ea6d9; $custom-dark: #000000;
JSON
{
"hex": "#5782c8",
"rgb": {
"r": 87,
"g": 130,
"b": 200
},
"hsl": {
"h": 217.168,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.6068,
"c": 0.11734,
"h": 259.7
},
"luminance": 0.22162
}Semantic roles & 50–950 ramp
primary
#5782C8
secondary
#D5C3A6
accent
#A54EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83