#5799EF#5799EF

#5799EF is a light, vivid cyan. Relative luminance 0.310; OKLCH L 67.8% C 0.145 H 255.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5799EF
RGBrgb(87, 153, 239)
HSLhsl(214, 83%, 64%)
HSVhsv(214, 64%, 94%)
CMYKcmyk(63.6%, 36%, 0%, 6.3%)
CIE-LABlab(62.54, 5.26, -49.47)
CIE-LCHlch(62.54, 49.74, 276.07°)
OKLaboklab(67.81% -0.0355 -0.1404)
OKLCHoklch(67.81% 0.145 255.8)
XYZxyz(30.8961, 31.0377, 86.0073)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799EF #EFAD57
analogous
#57E5EF #5799EF #6157EF
triadic
#5799EF #EF5799 #99EF57
tetradic
#5799EF #EF57E5 #EFAD57 #57EF61
square
#5799EF #EF57E5 #EFAD57 #57EF61
split-complementary
#5799EF #EF6157 #E5EF57
monochromatic
#125BBA #1F77EA #5799EF #8FBBF4 #C7DDFA

Accessibility & contrast

On white

2.91
#5799EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5799EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799EF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799EF#FFFFFF#000000##000000
##5799EF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#00ADB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5799ef;
/* rgb */ color: rgb(87, 153, 239);
/* oklch */ color: oklch(67.8% 0.145 255.8);
Tailwind
colors: {
  custom: {
    50: '#94b6f4',
    500: '#5799ef',
    950: '#000000',
  },
}
SCSS
$custom: #5799ef;
$custom-light: #94b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5799ef",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 213.947,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67814,
    "c": 0.14483,
    "h": 255.8
  },
  "luminance": 0.31041
}

Semantic roles & 50–950 ramp

primary
#5799EF
secondary
#ECD4B6
accent
#8106DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5799EF

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

Preview Lab → · Contrast checker → · Palette generator →

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