#5B97DC#5B97DC

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

Color values

HEX#5B97DC
RGBrgb(91, 151, 220)
HSLhsl(212, 65%, 61%)
HSVhsv(212, 59%, 86%)
CMYKcmyk(58.6%, 31.4%, 0%, 13.7%)
CIE-LABlab(61.24, 0.93, -40.99)
CIE-LCHlch(61.24, 41.00, 271.29°)
OKLaboklab(66.55% -0.0353 -0.1156)
OKLCHoklch(66.55% 0.121 253)
XYZxyz(28.2946, 29.5222, 71.9035)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97DC #DCA05B
analogous
#5BD7DC #5B97DC #5F5BDC
triadic
#5B97DC #DC5B97 #97DC5B
tetradic
#5B97DC #DC5BD7 #DCA05B #5BDC5F
square
#5B97DC #DC5BD7 #DCA05B #5BDC5F
split-complementary
#5B97DC #DC5F5B #D7DC5B
monochromatic
#215A9B #2C77CE #5B97DC #8DB7E7 #C0D7F2

Accessibility & contrast

On white

3.04
#5B97DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5B97DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B97DC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97DC#FFFFFF#000000##000000
##5B97DC1.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)
#7A9BDF
Deuteranopia (green-blind)
#698EDB
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b97dc;
/* rgb */ color: rgb(91, 151, 220);
/* oklch */ color: oklch(66.5% 0.121 253.0);
Tailwind
colors: {
  custom: {
    50: '#93b5e7',
    500: '#5b97dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b97dc;
$custom-light: #93b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97dc",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 212.093,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66545,
    "c": 0.12091,
    "h": 253
  },
  "luminance": 0.29525
}

Semantic roles & 50–950 ramp

primary
#5B97DC
secondary
#E2CBB1
accent
#7919CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B97DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B97DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva