#5794E8#5794E8
#5794E8 is a light, vivid cyan. Relative luminance 0.290; OKLCH L 66.3% C 0.141 H 256.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5794E8 |
|---|---|
| RGB | rgb(87, 148, 232) |
| HSL | hsl(215, 76%, 63%) |
| HSV | hsv(215, 63%, 91%) |
| CMYK | cmyk(62.5%, 36.2%, 0%, 9%) |
| CIE-LAB | lab(60.81, 5.85, -48.34) |
| CIE-LCH | lch(60.81, 48.70, 276.90°) |
| OKLab | oklab(66.35% -0.0322 -0.1372) |
| OKLCH | oklch(66.35% 0.141 256.8) |
| XYZ | xyz(29.0807, 29.0295, 80.3990) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.27
Dark Sky Blue
#448EE4
ΔE00 2.65
Dodgerblue
#1E90FF
ΔE00 3.49
Faded Blue
#658CBB
ΔE00 5.52
Soft Blue
#6488EA
ΔE00 5.57
Dodger Blue
#3E82FC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5794E8 #E8AB57
analogous
#57DCE8 #5794E8 #6357E8
triadic
#5794E8 #E85794 #94E857
tetradic
#5794E8 #E857DC #E8AB57 #57E863
square
#5794E8 #E857DC #E8AB57 #57E863
split-complementary
#5794E8 #E86357 #DCE857
monochromatic
#1856AD #2172E1 #5794E8 #8DB6EF #C3D9F7
Accessibility & contrast
On white
3.09
#5794E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#5794E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5794E8
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5794E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5794E8 | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#5C8CE6
Tritanopia (blue-blind)
#00A7B3
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5794e8; /* rgb */ color: rgb(87, 148, 232); /* oklch */ color: oklch(66.3% 0.141 256.8);
Tailwind
colors: {
custom: {
50: '#93b3f0',
500: '#5794e8',
950: '#000000',
},
}SCSS
$custom: #5794e8; $custom-light: #93b3f0; $custom-dark: #000000;
JSON
{
"hex": "#5794e8",
"rgb": {
"r": 87,
"g": 148,
"b": 232
},
"hsl": {
"h": 214.759,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.66349,
"c": 0.1409,
"h": 256.8
},
"luminance": 0.29032
}Semantic roles & 50–950 ramp
primary
#5794E8
secondary
#E8D2B3
accent
#830DD8
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84