#5799F2#5799F2

#5799F2 is a light, vivid cyan. Relative luminance 0.312; OKLCH L 68.0% C 0.149 H 256.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5799F2
RGBrgb(87, 153, 242)
HSLhsl(214, 86%, 65%)
HSVhsv(214, 64%, 95%)
CMYKcmyk(64%, 36.8%, 0%, 5.1%)
CIE-LABlab(62.69, 6.26, -50.88)
CIE-LCHlch(62.69, 51.26, 277.01°)
OKLaboklab(67.98% -0.0348 -0.1445)
OKLCHoklch(67.98% 0.149 256.5)
XYZxyz(31.3430, 31.2165, 88.3608)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799F2 #F2B057
analogous
#57E6F2 #5799F2 #6357F2
triadic
#5799F2 #F25799 #99F257
tetradic
#5799F2 #F257E6 #F2B057 #57F263
square
#5799F2 #F257E6 #F2B057 #57F263
split-complementary
#5799F2 #F26357 #E6F257
monochromatic
#0F5AC0 #1E77EE #5799F2 #90BBF6 #C9DEFB

Accessibility & contrast

On white

2.90
#5799F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5799F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799F2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799F2#FFFFFF#000000##000000
##5799F21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5799f2;
/* rgb */ color: rgb(87, 153, 242);
/* oklch */ color: oklch(68.0% 0.149 256.5);
Tailwind
colors: {
  custom: {
    50: '#94b6f7',
    500: '#5799f2',
    950: '#000000',
  },
}
SCSS
$custom: #5799f2;
$custom-light: #94b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5799f2",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 214.452,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6798,
    "c": 0.14867,
    "h": 256.5
  },
  "luminance": 0.3122
}

Semantic roles & 50–950 ramp

primary
#5799F2
secondary
#EDD6B8
accent
#8303E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5799F2

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

Preview Lab → · Contrast checker → · Palette generator →

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