#5799EC#5799EC

#5799EC is a light, vivid cyan. Relative luminance 0.309; OKLCH L 67.6% C 0.141 H 255.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5799EC
RGBrgb(87, 153, 236)
HSLhsl(213, 80%, 63%)
HSVhsv(213, 63%, 93%)
CMYKcmyk(63.1%, 35.2%, 0%, 7.5%)
CIE-LABlab(62.39, 4.26, -48.05)
CIE-LCHlch(62.39, 48.24, 275.07°)
OKLaboklab(67.65% -0.0363 -0.1362)
OKLCHoklch(67.65% 0.141 255.1)
XYZxyz(30.4566, 30.8619, 83.6925)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799EC #ECAA57
analogous
#57E3EC #5799EC #5F57EC
triadic
#5799EC #EC5799 #99EC57
tetradic
#5799EC #EC57E3 #ECAA57 #57EC5F
square
#5799EC #EC57E3 #ECAA57 #57EC5F
split-complementary
#5799EC #EC5F57 #E3EC57
monochromatic
#145BB4 #2078E6 #5799EC #8EBAF2 #C5DCF8

Accessibility & contrast

On white

2.93
#5799EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5799EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799EC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799EC#FFFFFF#000000##000000
##5799EC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FEF
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5799ec;
/* rgb */ color: rgb(87, 153, 236);
/* oklch */ color: oklch(67.6% 0.141 255.1);
Tailwind
colors: {
  custom: {
    50: '#93b6f2',
    500: '#5799ec',
    950: '#000000',
  },
}
SCSS
$custom: #5799ec;
$custom-light: #93b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5799ec",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 213.423,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67649,
    "c": 0.141,
    "h": 255.1
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#5799EC
secondary
#EAD2B5
accent
#7F0ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5799EC

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

Preview Lab → · Contrast checker → · Palette generator →

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