#5796DF#5796DF

#5796DF is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.3% C 0.127 H 253.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5796DF
RGBrgb(87, 150, 223)
HSLhsl(212, 68%, 61%)
HSVhsv(212, 61%, 87%)
CMYKcmyk(61%, 32.7%, 0%, 12.5%)
CIE-LABlab(60.93, 1.71, -43.17)
CIE-LCHlch(60.93, 43.20, 272.27°)
OKLaboklab(66.3% -0.0366 -0.122)
OKLCHoklch(66.3% 0.127 253.3)
XYZxyz(28.1513, 29.1640, 73.9434)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796DF #DFA057
analogous
#57DADF #5796DF #5C57DF
triadic
#5796DF #DF5796 #96DF57
tetradic
#5796DF #DF57DA #DFA057 #57DF5C
square
#5796DF #DF57DA #DFA057 #57DF5C
split-complementary
#5796DF #DF5C57 #DADF57
monochromatic
#1E599E #2876D1 #5796DF #8AB6E9 #BED6F3

Accessibility & contrast

On white

3.07
#5796DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5796DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796DF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796DF#FFFFFF#000000##000000
##5796DF1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#658DDE
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5796df;
/* rgb */ color: rgb(87, 150, 223);
/* oklch */ color: oklch(66.3% 0.127 253.3);
Tailwind
colors: {
  custom: {
    50: '#92b4e9',
    500: '#5796df',
    950: '#000000',
  },
}
SCSS
$custom: #5796df;
$custom-light: #92b4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5796df",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 212.206,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.1274,
    "h": 253.3
  },
  "luminance": 0.29167
}

Semantic roles & 50–950 ramp

primary
#5796DF
secondary
#E3CBAF
accent
#7A16D0
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5796DF

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

Preview Lab → · Contrast checker → · Palette generator →

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