#5799F4#5799F4

#5799F4 is a light, vivid cyan. Relative luminance 0.313; OKLCH L 68.1% C 0.151 H 256.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5799F4
RGBrgb(87, 153, 244)
HSLhsl(215, 88%, 65%)
HSVhsv(215, 64%, 96%)
CMYKcmyk(64.3%, 37.3%, 0%, 4.3%)
CIE-LABlab(62.79, 6.93, -51.82)
CIE-LCHlch(62.79, 52.28, 277.61°)
OKLaboklab(68.09% -0.0344 -0.1473)
OKLCHoklch(68.09% 0.151 256.9)
XYZxyz(31.6450, 31.3373, 89.9514)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799F4 #F4B257
analogous
#57E7F4 #5799F4 #6457F4
triadic
#5799F4 #F45799 #99F457
tetradic
#5799F4 #F457E7 #F4B257 #57F464
square
#5799F4 #F457E7 #F4B257 #57F464
split-complementary
#5799F4 #F46457 #E7F457
monochromatic
#0D5AC4 #1E76F0 #5799F4 #90BCF8 #CADFFC

Accessibility & contrast

On white

2.89
#5799F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5799F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799F4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799F4#FFFFFF#000000##000000
##5799F41.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F8
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#00AEBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5799f4;
/* rgb */ color: rgb(87, 153, 244);
/* oklch */ color: oklch(68.1% 0.151 256.9);
Tailwind
colors: {
  custom: {
    50: '#95b6f8',
    500: '#5799f4',
    950: '#000000',
  },
}
SCSS
$custom: #5799f4;
$custom-light: #95b6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5799f4",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 244
  },
  "hsl": {
    "h": 214.777,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68092,
    "c": 0.15123,
    "h": 256.9
  },
  "luminance": 0.3134
}

Semantic roles & 50–950 ramp

primary
#5799F4
secondary
#EED8B9
accent
#8501E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5799F4

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

Preview Lab → · Contrast checker → · Palette generator →

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