#5798EF#5798EF

#5798EF is a light, vivid cyan. Relative luminance 0.307; OKLCH L 67.6% C 0.146 H 256.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5798EF
RGBrgb(87, 152, 239)
HSLhsl(214, 83%, 64%)
HSVhsv(214, 64%, 94%)
CMYKcmyk(63.6%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.26, 5.84, -49.90)
CIE-LCHlch(62.26, 50.24, 276.68°)
OKLaboklab(67.6% -0.0345 -0.1417)
OKLCHoklch(67.6% 0.146 256.3)
XYZxyz(30.7331, 30.7117, 85.9529)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798EF #EFAE57
analogous
#57E4EF #5798EF #6257EF
triadic
#5798EF #EF5798 #98EF57
tetradic
#5798EF #EF57E4 #EFAE57 #57EF62
square
#5798EF #EF57E4 #EFAE57 #57EF62
split-complementary
#5798EF #EF6257 #E4EF57
monochromatic
#125ABA #1F76EA #5798EF #8FBAF4 #C7DDFA

Accessibility & contrast

On white

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

On black

7.14
#5798EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798EF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798EF#FFFFFF#000000##000000
##5798EF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798ef;
/* rgb */ color: rgb(87, 152, 239);
/* oklch */ color: oklch(67.6% 0.146 256.3);
Tailwind
colors: {
  custom: {
    50: '#94b5f4',
    500: '#5798ef',
    950: '#000000',
  },
}
SCSS
$custom: #5798ef;
$custom-light: #94b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5798ef",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 214.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.14584,
    "h": 256.3
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#5798EF
secondary
#ECD5B6
accent
#8206DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5798EF

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

Preview Lab → · Contrast checker → · Palette generator →

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