#5B97DF#5B97DF

#5B97DF is a light, vivid cyan. Relative luminance 0.297; OKLCH L 66.7% C 0.125 H 254.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5B97DF
RGBrgb(91, 151, 223)
HSLhsl(213, 67%, 62%)
HSVhsv(213, 59%, 87%)
CMYKcmyk(59.2%, 32.3%, 0%, 12.5%)
CIE-LABlab(61.38, 1.89, -42.44)
CIE-LCHlch(61.38, 42.48, 272.55°)
OKLaboklab(66.7% -0.0344 -0.1199)
OKLCHoklch(66.7% 0.125 254)
XYZxyz(28.6955, 29.6825, 74.0148)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97DF #DFA35B
analogous
#5BD9DF #5B97DF #615BDF
triadic
#5B97DF #DF5B97 #97DF5B
tetradic
#5B97DF #DF5BD9 #DFA35B #5BDF61
square
#5B97DF #DF5BD9 #DFA35B #5BDF61
split-complementary
#5B97DF #DF615B #D9DF5B
monochromatic
#1F5AA0 #2977D4 #5B97DF #8EB7E9 #C1D8F3

Accessibility & contrast

On white

3.03
#5B97DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5B97DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B97DF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97DF#FFFFFF#000000##000000
##5B97DF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#678EDE
Tritanopia (blue-blind)
#00A7B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b97df;
/* rgb */ color: rgb(91, 151, 223);
/* oklch */ color: oklch(66.7% 0.125 254.0);
Tailwind
colors: {
  custom: {
    50: '#94b5e9',
    500: '#5b97df',
    950: '#000000',
  },
}
SCSS
$custom: #5b97df;
$custom-light: #94b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97df",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 212.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.12471,
    "h": 254
  },
  "luminance": 0.29685
}

Semantic roles & 50–950 ramp

primary
#5B97DF
secondary
#E3CDB2
accent
#7B16CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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