#5799EA#5799EA

#5799EA is a light, vivid cyan. Relative luminance 0.307; OKLCH L 67.5% C 0.138 H 254.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5799EA
RGBrgb(87, 153, 234)
HSLhsl(213, 78%, 63%)
HSVhsv(213, 63%, 92%)
CMYKcmyk(62.8%, 34.6%, 0%, 8.2%)
CIE-LABlab(62.29, 3.60, -47.10)
CIE-LCHlch(62.29, 47.24, 274.37°)
OKLaboklab(67.54% -0.0368 -0.1335)
OKLCHoklch(67.54% 0.138 254.6)
XYZxyz(30.1676, 30.7463, 82.1708)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799EA #EAA857
analogous
#57E3EA #5799EA #5E57EA
triadic
#5799EA #EA5799 #99EA57
tetradic
#5799EA #EA57E3 #EAA857 #57EA5E
square
#5799EA #EA57E3 #EAA857 #57EA5E
split-complementary
#5799EA #EA5E57 #E3EA57
monochromatic
#165BB1 #2178E3 #5799EA #8DBAF1 #C4DBF8

Accessibility & contrast

On white

2.94
#5799EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5799EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799EA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799EA#FFFFFF#000000##000000
##5799EA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5799ea;
/* rgb */ color: rgb(87, 153, 234);
/* oklch */ color: oklch(67.5% 0.138 254.6);
Tailwind
colors: {
  custom: {
    50: '#93b6f1',
    500: '#5799ea',
    950: '#000000',
  },
}
SCSS
$custom: #5799ea;
$custom-light: #93b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5799ea",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 213.061,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67541,
    "c": 0.13845,
    "h": 254.6
  },
  "luminance": 0.30749
}

Semantic roles & 50–950 ramp

primary
#5799EA
secondary
#E9D1B4
accent
#7D0BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5799EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5799EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva