#5799E8#5799E8

#5799E8 is a light, vivid cyan. Relative luminance 0.306; OKLCH L 67.4% C 0.136 H 254.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5799E8
RGBrgb(87, 153, 232)
HSLhsl(213, 76%, 63%)
HSVhsv(213, 63%, 91%)
CMYKcmyk(62.5%, 34.1%, 0%, 9%)
CIE-LABlab(62.20, 2.93, -46.15)
CIE-LCHlch(62.20, 46.24, 273.64°)
OKLaboklab(67.43% -0.0373 -0.1307)
OKLCHoklch(67.43% 0.136 254.1)
XYZxyz(29.8819, 30.6321, 80.6661)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799E8 #E8A657
analogous
#57E1E8 #5799E8 #5E57E8
triadic
#5799E8 #E85799 #99E857
tetradic
#5799E8 #E857E1 #E8A657 #57E85E
square
#5799E8 #E857E1 #E8A657 #57E85E
split-complementary
#5799E8 #E85E57 #E1E857
monochromatic
#185CAD #2178E1 #5799E8 #8DBAEF #C3DAF7

Accessibility & contrast

On white

2.95
#5799E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#5799E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799E8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799E8#FFFFFF#000000##000000
##5799E81.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEB
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5799e8;
/* rgb */ color: rgb(87, 153, 232);
/* oklch */ color: oklch(67.4% 0.136 254.1);
Tailwind
colors: {
  custom: {
    50: '#93b6ef',
    500: '#5799e8',
    950: '#000000',
  },
}
SCSS
$custom: #5799e8;
$custom-light: #93b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5799e8",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 232
  },
  "hsl": {
    "h": 212.69,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67433,
    "c": 0.13593,
    "h": 254.1
  },
  "luminance": 0.30635
}

Semantic roles & 50–950 ramp

primary
#5799E8
secondary
#E8D0B3
accent
#7C0DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5799E8

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

Preview Lab → · Contrast checker → · Palette generator →

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