#5794E9#5794E9
#5794E9 is a light, vivid cyan. Relative luminance 0.291; OKLCH L 66.4% C 0.142 H 257.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5794E9 |
|---|---|
| RGB | rgb(87, 148, 233) |
| HSL | hsl(215, 77%, 63%) |
| HSV | hsv(215, 63%, 91%) |
| CMYK | cmyk(62.7%, 36.5%, 0%, 8.6%) |
| CIE-LAB | lab(60.86, 6.18, -48.82) |
| CIE-LCH | lch(60.86, 49.21, 277.22°) |
| OKLab | oklab(66.41% -0.032 -0.1385) |
| OKLCH | oklch(66.41% 0.142 257) |
| XYZ | xyz(29.2231, 29.0865, 81.1492) |
| Luminance | 0.2909 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.19
Dark Sky Blue
#448EE4
ΔE00 2.71
Dodgerblue
#1E90FF
ΔE00 3.51
Soft Blue
#6488EA
ΔE00 5.53
Faded Blue
#658CBB
ΔE00 5.58
Dodger Blue
#3E82FC
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5794E9 #E9AC57
analogous
#57DDE9 #5794E9 #6357E9
triadic
#5794E9 #E95794 #94E957
tetradic
#5794E9 #E957DD #E9AC57 #57E963
square
#5794E9 #E957DD #E9AC57 #57E963
split-complementary
#5794E9 #E96357 #DDE957
monochromatic
#1756AF #2172E2 #5794E9 #8DB6F0 #C3D9F7
Accessibility & contrast
On white
3.08
#5794E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#5794E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5794E9
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5794E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5794E9 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#5B8DE7
Tritanopia (blue-blind)
#00A7B3
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5794e9; /* rgb */ color: rgb(87, 148, 233); /* oklch */ color: oklch(66.4% 0.142 257.0);
Tailwind
colors: {
custom: {
50: '#93b3f0',
500: '#5794e9',
950: '#000000',
},
}SCSS
$custom: #5794e9; $custom-light: #93b3f0; $custom-dark: #000000;
JSON
{
"hex": "#5794e9",
"rgb": {
"r": 87,
"g": 148,
"b": 233
},
"hsl": {
"h": 214.932,
"s": 76.842,
"l": 62.745
},
"oklch": {
"l": 0.66405,
"c": 0.14219,
"h": 257
},
"luminance": 0.29089
}Semantic roles & 50–950 ramp
primary
#5794E9
secondary
#E8D2B3
accent
#840CD9
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84