#5799E4#5799E4

#5799E4 is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.2% C 0.131 H 253.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5799E4
RGBrgb(87, 153, 228)
HSLhsl(212, 72%, 62%)
HSVhsv(212, 62%, 89%)
CMYKcmyk(61.8%, 32.9%, 0%, 10.6%)
CIE-LABlab(62.00, 1.62, -44.24)
CIE-LCHlch(62.00, 44.27, 272.09°)
OKLaboklab(67.22% -0.0383 -0.1251)
OKLCHoklch(67.22% 0.131 253)
XYZxyz(29.3202, 30.4074, 77.7078)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799E4 #E4A257
analogous
#57E0E4 #5799E4 #5C57E4
triadic
#5799E4 #E45799 #99E457
tetradic
#5799E4 #E457E0 #E4A257 #57E45C
square
#5799E4 #E457E0 #E4A257 #57E45C
split-complementary
#5799E4 #E45C57 #E0E457
monochromatic
#1B5CA6 #2379DB #5799E4 #8CB9EC #C0D9F5

Accessibility & contrast

On white

2.97
#5799E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5799E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799E4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799E4#FFFFFF#000000##000000
##5799E41.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#6690E2
Tritanopia (blue-blind)
#00AAB4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5799e4;
/* rgb */ color: rgb(87, 153, 228);
/* oklch */ color: oklch(67.2% 0.131 253.0);
Tailwind
colors: {
  custom: {
    50: '#92b6ed',
    500: '#5799e4',
    950: '#000000',
  },
}
SCSS
$custom: #5799e4;
$custom-light: #92b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5799e4",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 228
  },
  "hsl": {
    "h": 211.915,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.13088,
    "h": 253
  },
  "luminance": 0.3041
}

Semantic roles & 50–950 ramp

primary
#5799E4
secondary
#E6CDB1
accent
#7911D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5799E4

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

Preview Lab → · Contrast checker → · Palette generator →

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