#5786D9#5786D9
#5786D9 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.136 H 261.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5786D9 |
|---|---|
| RGB | rgb(87, 134, 217) |
| HSL | hsl(218, 63%, 60%) |
| HSV | hsv(218, 60%, 85%) |
| CMYK | cmyk(59.9%, 38.2%, 0%, 14.9%) |
| CIE-LAB | lab(56.17, 9.17, -47.32) |
| CIE-LCH | lch(56.17, 48.20, 280.97°) |
| OKLab | oklab(62.5% -0.0212 -0.1343) |
| OKLCH | oklch(62.5% 0.136 261) |
| XYZ | xyz(24.9756, 24.0840, 68.9647) |
| Luminance | 0.2409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.22
Dodger Blue
#3E82FC
ΔE00 3.61
Faded Blue
#658CBB
ΔE00 3.92
Dark Sky Blue
#448EE4
ΔE00 4.41
Azure
#007FFF
ΔE00 4.94
Lightish Blue
#3D7AFD
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786D9 #D9AA57
analogous
#57C7D9 #5786D9 #6957D9
triadic
#5786D9 #D95786 #86D957
tetradic
#5786D9 #D957C7 #D9AA57 #57D969
square
#5786D9 #D957C7 #D9AA57 #57D969
split-complementary
#5786D9 #D96957 #C7D957
monochromatic
#214B94 #2D64C6 #5786D9 #89AAE4 #BBCEF0
Accessibility & contrast
On white
3.61
#5786D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#5786D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786D9
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786D9 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#628DDC
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5786d9; /* rgb */ color: rgb(87, 134, 217); /* oklch */ color: oklch(62.5% 0.136 261.0);
Tailwind
colors: {
custom: {
50: '#91a8e5',
500: '#5786d9',
950: '#000000',
},
}SCSS
$custom: #5786d9; $custom-light: #91a8e5; $custom-dark: #000000;
JSON
{
"hex": "#5786d9",
"rgb": {
"r": 87,
"g": 134,
"b": 217
},
"hsl": {
"h": 218.308,
"s": 63.107,
"l": 59.608
},
"oklch": {
"l": 0.62496,
"c": 0.136,
"h": 261
},
"luminance": 0.24086
}Semantic roles & 50–950 ramp
primary
#5786D9
secondary
#DFCDAD
accent
#AB42E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84