#5797CA#5797CA

#5797CA is a light, moderate cyan. Relative luminance 0.284; OKLCH L 65.5% C 0.101 H 244.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5797CA
RGBrgb(87, 151, 202)
HSLhsl(207, 52%, 57%)
HSVhsv(207, 57%, 79%)
CMYKcmyk(56.9%, 25.2%, 0%, 20.8%)
CIE-LABlab(60.27, -5.61, -32.47)
CIE-LCHlch(60.27, 32.95, 260.20°)
OKLaboklab(65.47% -0.0439 -0.091)
OKLCHoklch(65.47% 0.101 244.3)
XYZxyz(25.6539, 28.4215, 59.9996)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797CA #CA8A57
analogous
#57CAC4 #5797CA #575ECA
triadic
#5797CA #CA5797 #97CA57
tetradic
#5797CA #C457CA #CA8A57 #5ECA57
square
#5797CA #C457CA #CA8A57 #5ECA57
split-complementary
#5797CA #CA575E #CAC457
monochromatic
#28587F #3779AD #5797CA #86B4D9 #B4D1E7

Accessibility & contrast

On white

3.14
#5797CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5797CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797CA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797CA#FFFFFF#000000##000000
##5797CA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CC
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#00A3A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5797ca;
/* rgb */ color: rgb(87, 151, 202);
/* oklch */ color: oklch(65.5% 0.101 244.3);
Tailwind
colors: {
  custom: {
    50: '#8fb5da',
    500: '#5797ca',
    950: '#000000',
  },
}
SCSS
$custom: #5797ca;
$custom-light: #8fb5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5797ca",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 206.609,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65471,
    "c": 0.10106,
    "h": 244.3
  },
  "luminance": 0.28424
}

Semantic roles & 50–950 ramp

primary
#5797CA
secondary
#D6BCA7
accent
#8C4CDB
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5797CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5797CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva