#5782D7#5782D7
#5782D7 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.138 H 262.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5782D7 |
|---|---|
| RGB | rgb(87, 130, 215) |
| HSL | hsl(220, 62%, 59%) |
| HSV | hsv(220, 60%, 84%) |
| CMYK | cmyk(59.5%, 39.5%, 0%, 15.7%) |
| CIE-LAB | lab(54.96, 10.91, -48.12) |
| CIE-LCH | lch(54.96, 49.34, 282.78°) |
| OKLab | oklab(61.53% -0.0174 -0.1367) |
| OKLCH | oklch(61.53% 0.138 262.7) |
| XYZ | xyz(24.1746, 22.8957, 67.4222) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.53
Dodger Blue
#3E82FC
ΔE00 3.90
Faded Blue
#658CBB
ΔE00 4.54
Lightish Blue
#3D7AFD
ΔE00 4.56
Clear Blue
#247AFD
ΔE00 4.84
Azure
#007FFF
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5782D7 #D7AC57
analogous
#57C2D7 #5782D7 #6C57D7
triadic
#5782D7 #D75782 #82D757
tetradic
#5782D7 #D757C2 #D7AC57 #57D76C
square
#5782D7 #D757C2 #D7AC57 #57D76C
split-complementary
#5782D7 #D76C57 #C2D757
monochromatic
#234891 #2E60C2 #5782D7 #88A7E3 #BACCEF
Accessibility & contrast
On white
3.76
#5782D7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#5782D7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5782D7
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5782D7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5782D7 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D8ADA
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5782d7; /* rgb */ color: rgb(87, 130, 215); /* oklch */ color: oklch(61.5% 0.138 262.7);
Tailwind
colors: {
custom: {
50: '#90a5e4',
500: '#5782d7',
950: '#000000',
},
}SCSS
$custom: #5782d7; $custom-light: #90a5e4; $custom-dark: #000000;
JSON
{
"hex": "#5782d7",
"rgb": {
"r": 87,
"g": 130,
"b": 215
},
"hsl": {
"h": 219.844,
"s": 61.538,
"l": 59.216
},
"oklch": {
"l": 0.61527,
"c": 0.13781,
"h": 262.7
},
"luminance": 0.22898
}Semantic roles & 50–950 ramp
primary
#5782D7
secondary
#DECDAC
accent
#AE43E5
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84