#5799E6#5799E6

#5799E6 is a light, vivid cyan. Relative luminance 0.305; OKLCH L 67.3% C 0.133 H 253.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5799E6
RGBrgb(87, 153, 230)
HSLhsl(212, 74%, 62%)
HSVhsv(212, 62%, 90%)
CMYKcmyk(62.2%, 33.5%, 0%, 9.8%)
CIE-LABlab(62.10, 2.27, -45.20)
CIE-LCHlch(62.10, 45.25, 272.88°)
OKLaboklab(67.33% -0.0378 -0.1279)
OKLCHoklch(67.33% 0.133 253.5)
XYZxyz(29.5995, 30.5191, 79.1785)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799E6 #E6A457
analogous
#57E0E6 #5799E6 #5D57E6
triadic
#5799E6 #E65799 #99E657
tetradic
#5799E6 #E657E0 #E6A457 #57E65D
square
#5799E6 #E657E0 #E6A457 #57E65D
split-complementary
#5799E6 #E65D57 #E0E657
monochromatic
#195CA9 #2279DE #5799E6 #8CB9EE #C2DAF6

Accessibility & contrast

On white

2.96
#5799E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5799E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799E6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799E6#FFFFFF#000000##000000
##5799E61.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#789EE9
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#00ABB5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5799e6;
/* rgb */ color: rgb(87, 153, 230);
/* oklch */ color: oklch(67.3% 0.133 253.5);
Tailwind
colors: {
  custom: {
    50: '#92b6ee',
    500: '#5799e6',
    950: '#000000',
  },
}
SCSS
$custom: #5799e6;
$custom-light: #92b6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5799e6",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 230
  },
  "hsl": {
    "h": 212.308,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67326,
    "c": 0.1334,
    "h": 253.5
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#5799E6
secondary
#E7CEB2
accent
#7A0FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5799E6

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

Preview Lab → · Contrast checker → · Palette generator →

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