#5797DF#5797DF

#5797DF is a light, vivid cyan. Relative luminance 0.295; OKLCH L 66.5% C 0.126 H 252.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5797DF
RGBrgb(87, 151, 223)
HSLhsl(212, 68%, 61%)
HSVhsv(212, 61%, 87%)
CMYKcmyk(61%, 32.3%, 0%, 12.5%)
CIE-LABlab(61.21, 1.13, -42.72)
CIE-LCHlch(61.21, 42.74, 271.52°)
OKLaboklab(66.52% -0.0376 -0.1207)
OKLCHoklch(66.52% 0.126 252.7)
XYZxyz(28.3116, 29.4845, 73.9968)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797DF #DF9F57
analogous
#57DBDF #5797DF #5B57DF
triadic
#5797DF #DF5797 #97DF57
tetradic
#5797DF #DF57DB #DF9F57 #57DF5B
square
#5797DF #DF57DB #DF9F57 #57DF5B
split-complementary
#5797DF #DF5B57 #DBDF57
monochromatic
#1E5A9E #2877D1 #5797DF #8AB7E9 #BED7F3

Accessibility & contrast

On white

3.04
#5797DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5797DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797DF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797DF#FFFFFF#000000##000000
##5797DF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5797df;
/* rgb */ color: rgb(87, 151, 223);
/* oklch */ color: oklch(66.5% 0.126 252.7);
Tailwind
colors: {
  custom: {
    50: '#92b5e9',
    500: '#5797df',
    950: '#000000',
  },
}
SCSS
$custom: #5797df;
$custom-light: #92b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5797df",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 211.765,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66518,
    "c": 0.12646,
    "h": 252.7
  },
  "luminance": 0.29487
}

Semantic roles & 50–950 ramp

primary
#5797DF
secondary
#E3CAAF
accent
#7816D0
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5797DF

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

Preview Lab → · Contrast checker → · Palette generator →

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