#5782DC#5782DC
#5782DC is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.8% C 0.145 H 263.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5782DC |
|---|---|
| RGB | rgb(87, 130, 220) |
| HSL | hsl(221, 66%, 60%) |
| HSV | hsv(221, 60%, 86%) |
| CMYK | cmyk(60.5%, 40.9%, 0%, 13.7%) |
| CIE-LAB | lab(55.23, 12.58, -50.50) |
| CIE-LCH | lch(55.23, 52.04, 283.99°) |
| OKLab | oklab(61.82% -0.0164 -0.1437) |
| OKLCH | oklch(61.82% 0.145 263.5) |
| XYZ | xyz(24.8269, 23.1566, 70.8576) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.11
Dodger Blue
#3E82FC
ΔE00 3.52
Lightish Blue
#3D7AFD
ΔE00 4.18
Clear Blue
#247AFD
ΔE00 4.61
Faded Blue
#658CBB
ΔE00 4.79
Azure
#007FFF
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5782DC #DCB157
analogous
#57C4DC #5782DC #6F57DC
triadic
#5782DC #DC5782 #82DC57
tetradic
#5782DC #DC57C4 #DCB157 #57DC6F
square
#5782DC #DC57C4 #DCB157 #57DC6F
split-complementary
#5782DC #DC6F57 #C4DC57
monochromatic
#204799 #2A5ECB #5782DC #8AA8E7 #BCCDF1
Accessibility & contrast
On white
3.73
#5782DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#5782DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5782DC
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5782DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5782DC | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8BE0
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5782dc; /* rgb */ color: rgb(87, 130, 220); /* oklch */ color: oklch(61.8% 0.145 263.5);
Tailwind
colors: {
custom: {
50: '#91a5e7',
500: '#5782dc',
950: '#000000',
},
}SCSS
$custom: #5782dc; $custom-light: #91a5e7; $custom-dark: #000000;
JSON
{
"hex": "#5782dc",
"rgb": {
"r": 87,
"g": 130,
"b": 220
},
"hsl": {
"h": 220.602,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.61822,
"c": 0.14462,
"h": 263.5
},
"luminance": 0.23159
}Semantic roles & 50–950 ramp
primary
#5782DC
secondary
#E1D0AE
accent
#9318CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84