#5B97E7#5B97E7

#5B97E7 is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.1% C 0.135 H 256.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5B97E7
RGBrgb(91, 151, 231)
HSLhsl(214, 74%, 63%)
HSVhsv(214, 61%, 91%)
CMYKcmyk(60.6%, 34.6%, 0%, 9.4%)
CIE-LABlab(61.76, 4.50, -46.27)
CIE-LCHlch(61.76, 46.49, 275.55°)
OKLaboklab(67.12% -0.0324 -0.131)
OKLCHoklch(67.12% 0.135 256.1)
XYZxyz(29.7997, 30.1242, 79.8299)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97E7 #E7AB5B
analogous
#5BDDE7 #5B97E7 #655BE7
triadic
#5B97E7 #E75B97 #97E75B
tetradic
#5B97E7 #E75BDD #E7AB5B #5BE765
square
#5B97E7 #E75BDD #E7AB5B #5BE765
split-complementary
#5B97E7 #E7655B #DDE75B
monochromatic
#1959AE #2675DF #5B97E7 #90B9EF #C6DBF7

Accessibility & contrast

On white

2.99
#5B97E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5B97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97E7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97E7#FFFFFF#000000##000000
##5B97E71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#759CEA
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#00A9B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b97e7;
/* rgb */ color: rgb(91, 151, 231);
/* oklch */ color: oklch(67.1% 0.135 256.1);
Tailwind
colors: {
  custom: {
    50: '#95b5ef',
    500: '#5b97e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b97e7;
$custom-light: #95b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97e7",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 214.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.13497,
    "h": 256.1
  },
  "luminance": 0.30127
}

Semantic roles & 50–950 ramp

primary
#5B97E7
secondary
#E8D2B6
accent
#810FD7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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