#5782EF#5782EF
#5782EF is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.0% C 0.170 H 265.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5782EF |
|---|---|
| RGB | rgb(87, 130, 239) |
| HSL | hsl(223, 83%, 64%) |
| HSV | hsv(223, 64%, 94%) |
| CMYK | cmyk(63.6%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.31, 18.98, -59.39) |
| CIE-LCH | lch(56.31, 62.35, 287.72°) |
| OKLab | oklab(63% -0.0131 -0.1698) |
| OKLCH | oklch(63% 0.17 265.6) |
| XYZ | xyz(27.4877, 24.2210, 84.8711) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.25
Dodger Blue
#3E82FC
ΔE00 2.63
Lightish Blue
#3D7AFD
ΔE00 3.16
Clear Blue
#247AFD
ΔE00 4.23
Azure
#007FFF
ΔE00 5.00
Cornflower
#6A79F7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5782EF #EFC457
analogous
#57CEEF #5782EF #7857EF
triadic
#5782EF #EF5782 #82EF57
tetradic
#5782EF #EF57CE #EFC457 #57EF78
square
#5782EF #EF57CE #EFC457 #57EF78
split-complementary
#5782EF #EF7857 #CEEF57
monochromatic
#1241BA #1F58EA #5782EF #8FACF4 #C7D5FA
Accessibility & contrast
On white
3.59
#5782EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#5782EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5782EF
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5782EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5782EF | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#3181ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5782ef; /* rgb */ color: rgb(87, 130, 239); /* oklch */ color: oklch(63.0% 0.170 265.6);
Tailwind
colors: {
custom: {
50: '#94a5f5',
500: '#5782ef',
950: '#000000',
},
}SCSS
$custom: #5782ef; $custom-light: #94a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5782ef",
"rgb": {
"r": 87,
"g": 130,
"b": 239
},
"hsl": {
"h": 223.026,
"s": 82.609,
"l": 63.922
},
"oklch": {
"l": 0.62996,
"c": 0.17031,
"h": 265.6
},
"luminance": 0.24223
}Semantic roles & 50–950 ramp
primary
#5782EF
secondary
#ECDCB6
accent
#A206DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85