#5798CF#5798CF

#5798CF is a light, moderate cyan. Relative luminance 0.290; OKLCH L 65.9% C 0.106 H 245.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5798CF
RGBrgb(87, 152, 207)
HSLhsl(208, 56%, 58%)
HSVhsv(208, 58%, 81%)
CMYKcmyk(58%, 26.6%, 0%, 18.8%)
CIE-LABlab(60.77, -4.60, -34.49)
CIE-LCHlch(60.77, 34.80, 262.41°)
OKLaboklab(65.94% -0.0434 -0.0969)
OKLCHoklch(65.94% 0.106 245.9)
XYZxyz(26.4171, 28.9853, 63.2220)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798CF #CF8E57
analogous
#57CFCA #5798CF #575CCF
triadic
#5798CF #CF5798 #98CF57
tetradic
#5798CF #CA57CF #CF8E57 #5CCF57
square
#5798CF #CA57CF #CF8E57 #5CCF57
split-complementary
#5798CF #CF575C #CFCA57
monochromatic
#265A85 #347AB5 #5798CF #87B5DD #B6D2EA

Accessibility & contrast

On white

3.09
#5798CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5798CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798CF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798CF#FFFFFF#000000##000000
##5798CF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D1
Deuteranopia (green-blind)
#708DCE
Tritanopia (blue-blind)
#00A5AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5798cf;
/* rgb */ color: rgb(87, 152, 207);
/* oklch */ color: oklch(65.9% 0.106 245.9);
Tailwind
colors: {
  custom: {
    50: '#8fb6de',
    500: '#5798cf',
    950: '#000000',
  },
}
SCSS
$custom: #5798cf;
$custom-light: #8fb6de;
$custom-dark: #000000;
JSON
{
  "hex": "#5798cf",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 207.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65937,
    "c": 0.10614,
    "h": 245.9
  },
  "luminance": 0.28988
}

Semantic roles & 50–950 ramp

primary
#5798CF
secondary
#D9BFA9
accent
#8E49DF
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5798CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5798CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva