#5799C2#5799C2

#5799C2 is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.6% C 0.091 H 237.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5799C2
RGBrgb(87, 153, 194)
HSLhsl(203, 47%, 55%)
HSVhsv(203, 55%, 76%)
CMYKcmyk(55.2%, 21.1%, 0%, 23.9%)
CIE-LABlab(60.52, -9.22, -27.59)
CIE-LCHlch(60.52, 29.09, 251.53°)
OKLaboklab(65.56% -0.0488 -0.077)
OKLCHoklch(65.56% 0.091 237.6)
XYZxyz(25.0557, 28.7016, 55.2480)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799C2 #C28057
analogous
#57C2B6 #5799C2 #5763C2
triadic
#5799C2 #C25799 #99C257
tetradic
#5799C2 #B657C2 #C28057 #63C257
square
#5799C2 #B657C2 #C28057 #63C257
split-complementary
#5799C2 #C25763 #C2B657
monochromatic
#2A5874 #3B7AA1 #5799C2 #84B4D2 #B1D0E3

Accessibility & contrast

On white

3.12
#5799C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#5799C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5799C2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799C2#FFFFFF#000000##000000
##5799C21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8698C4
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#00A3A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5799c2;
/* rgb */ color: rgb(87, 153, 194);
/* oklch */ color: oklch(65.6% 0.091 237.6);
Tailwind
colors: {
  custom: {
    50: '#8eb7d4',
    500: '#5799c2',
    950: '#000000',
  },
}
SCSS
$custom: #5799c2;
$custom-light: #8eb7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5799c2",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 194
  },
  "hsl": {
    "h": 202.991,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6556,
    "c": 0.0912,
    "h": 237.6
  },
  "luminance": 0.28704
}

Semantic roles & 50–950 ramp

primary
#5799C2
secondary
#D1B5A4
accent
#8451D6
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5799C2

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

Preview Lab → · Contrast checker → · Palette generator →

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