#5799E7#5799E7

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

Color values

HEX#5799E7
RGBrgb(87, 153, 231)
HSLhsl(213, 75%, 62%)
HSVhsv(213, 62%, 91%)
CMYKcmyk(62.3%, 33.8%, 0%, 9.4%)
CIE-LABlab(62.15, 2.60, -45.67)
CIE-LCHlch(62.15, 45.75, 273.26°)
OKLaboklab(67.38% -0.0375 -0.1293)
OKLCHoklch(67.38% 0.135 253.8)
XYZxyz(29.7403, 30.5754, 79.9202)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799E7 #E7A557
analogous
#57E1E7 #5799E7 #5D57E7
triadic
#5799E7 #E75799 #99E757
tetradic
#5799E7 #E757E1 #E7A557 #57E75D
square
#5799E7 #E757E1 #E7A557 #57E75D
split-complementary
#5799E7 #E75D57 #E1E757
monochromatic
#185CAB #2178DF #5799E7 #8DBAEF #C2DAF6

Accessibility & contrast

On white

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

On black

7.12
#5799E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799E7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799E7#FFFFFF#000000##000000
##5799E71.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEA
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#00ABB5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5799e7;
/* rgb */ color: rgb(87, 153, 231);
/* oklch */ color: oklch(67.4% 0.135 253.8);
Tailwind
colors: {
  custom: {
    50: '#93b6ef',
    500: '#5799e7',
    950: '#000000',
  },
}
SCSS
$custom: #5799e7;
$custom-light: #93b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5799e7",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 231
  },
  "hsl": {
    "h": 212.5,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67379,
    "c": 0.13466,
    "h": 253.8
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#5799E7
secondary
#E7CFB3
accent
#7B0ED7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5799E7

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

Preview Lab → · Contrast checker → · Palette generator →

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