#5B97E5#5B97E5

#5B97E5 is a light, vivid cyan. Relative luminance 0.300; OKLCH L 67.0% C 0.132 H 255.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5B97E5
RGBrgb(91, 151, 229)
HSLhsl(214, 73%, 63%)
HSVhsv(214, 60%, 90%)
CMYKcmyk(60.3%, 34.1%, 0%, 10.2%)
CIE-LABlab(61.66, 3.84, -45.32)
CIE-LCHlch(61.66, 45.48, 274.85°)
OKLaboklab(67.02% -0.0329 -0.1282)
OKLCHoklch(67.02% 0.132 255.6)
XYZxyz(29.5188, 30.0118, 78.3508)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97E5 #E5A95B
analogous
#5BDCE5 #5B97E5 #645BE5
triadic
#5B97E5 #E55B97 #97E55B
tetradic
#5B97E5 #E55BDC #E5A95B #5BE564
square
#5B97E5 #E55BDC #E5A95B #5BE564
split-complementary
#5B97E5 #E5645B #DCE55B
monochromatic
#1B59AB #2676DD #5B97E5 #90B8ED #C5DAF6

Accessibility & contrast

On white

3.00
#5B97E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5B97E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97E5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97E5#FFFFFF#000000##000000
##5B97E51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE8
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b97e5;
/* rgb */ color: rgb(91, 151, 229);
/* oklch */ color: oklch(67.0% 0.132 255.6);
Tailwind
colors: {
  custom: {
    50: '#94b5ed',
    500: '#5b97e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b97e5;
$custom-light: #94b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97e5",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 213.913,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.13239,
    "h": 255.6
  },
  "luminance": 0.30015
}

Semantic roles & 50–950 ramp

primary
#5B97E5
secondary
#E7D1B5
accent
#8011D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B97E5

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

Preview Lab → · Contrast checker → · Palette generator →

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