#5798EE#5798EE

#5798EE is a light, vivid cyan. Relative luminance 0.307; OKLCH L 67.5% C 0.145 H 256.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5798EE
RGBrgb(87, 152, 238)
HSLhsl(214, 82%, 64%)
HSVhsv(214, 63%, 93%)
CMYKcmyk(63.4%, 36.1%, 0%, 6.7%)
CIE-LABlab(62.21, 5.51, -49.43)
CIE-LCHlch(62.21, 49.74, 276.36°)
OKLaboklab(67.54% -0.0348 -0.1403)
OKLCHoklch(67.54% 0.145 256.1)
XYZxyz(30.5858, 30.6528, 85.1771)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798EE #EEAD57
analogous
#57E4EE #5798EE #6157EE
triadic
#5798EE #EE5798 #98EE57
tetradic
#5798EE #EE57E4 #EEAD57 #57EE61
square
#5798EE #EE57E4 #EEAD57 #57EE61
split-complementary
#5798EE #EE6157 #E4EE57
monochromatic
#135AB8 #1F76E8 #5798EE #8FBAF4 #C6DCF9

Accessibility & contrast

On white

2.94
#5798EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#5798EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798EE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798EE#FFFFFF#000000##000000
##5798EE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798ee;
/* rgb */ color: rgb(87, 152, 238);
/* oklch */ color: oklch(67.5% 0.145 256.1);
Tailwind
colors: {
  custom: {
    50: '#94b5f4',
    500: '#5798ee',
    950: '#000000',
  },
}
SCSS
$custom: #5798ee;
$custom-light: #94b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5798ee",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 214.172,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67543,
    "c": 0.14456,
    "h": 256.1
  },
  "luminance": 0.30656
}

Semantic roles & 50–950 ramp

primary
#5798EE
secondary
#EBD4B6
accent
#8208DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5798EE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5798EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva