#5798E4#5798E4
#5798E4 is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.0% C 0.132 H 253.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5798E4 |
|---|---|
| RGB | rgb(87, 152, 228) |
| HSL | hsl(212, 72%, 62%) |
| HSV | hsv(212, 62%, 89%) |
| CMYK | cmyk(61.8%, 33.3%, 0%, 10.6%) |
| CIE-LAB | lab(61.72, 2.20, -44.68) |
| CIE-LCH | lch(61.72, 44.73, 272.81°) |
| OKLab | oklab(67% -0.0373 -0.1264) |
| OKLCH | oklch(67% 0.132 253.6) |
| XYZ | xyz(29.1572, 30.0814, 77.6535) |
| Luminance | 0.3008 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 3.24
Cornflowerblue
#6495ED
ΔE00 3.39
Dodgerblue
#1E90FF
ΔE00 3.62
Azure (survey)
#069AF3
ΔE00 5.03
Faded Blue
#658CBB
ΔE00 6.10
Soft Blue
#6488EA
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5798E4 #E4A357
analogous
#57DFE4 #5798E4 #5C57E4
triadic
#5798E4 #E45798 #98E457
tetradic
#5798E4 #E457DF #E4A357 #57E45C
square
#5798E4 #E457DF #E4A357 #57E45C
split-complementary
#5798E4 #E45C57 #DFE457
monochromatic
#1B5BA6 #2378DB #5798E4 #8CB8EC #C0D9F5
Accessibility & contrast
On white
2.99
#5798E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#5798E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5798E4
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5798E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5798E4 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#779CE7
Deuteranopia (green-blind)
#648FE2
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #5798e4; /* rgb */ color: rgb(87, 152, 228); /* oklch */ color: oklch(67.0% 0.132 253.6);
Tailwind
colors: {
custom: {
50: '#92b6ed',
500: '#5798e4',
950: '#000000',
},
}SCSS
$custom: #5798e4; $custom-light: #92b6ed; $custom-dark: #000000;
JSON
{
"hex": "#5798e4",
"rgb": {
"r": 87,
"g": 152,
"b": 228
},
"hsl": {
"h": 212.34,
"s": 72.308,
"l": 61.765
},
"oklch": {
"l": 0.67001,
"c": 0.13183,
"h": 253.6
},
"luminance": 0.30084
}Semantic roles & 50–950 ramp
primary
#5798E4
secondary
#E6CDB1
accent
#7A11D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084