#5BA6FD#5BA6FD

#5BA6FD is a light, vivid cyan. Relative luminance 0.366; OKLCH L 71.5% C 0.148 H 253.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5BA6FD
RGBrgb(91, 166, 253)
HSLhsl(212, 98%, 67%)
HSVhsv(212, 64%, 99%)
CMYKcmyk(64%, 34.4%, 0%, 0.8%)
CIE-LABlab(66.96, 3.06, -50.12)
CIE-LCHlch(66.96, 50.21, 273.50°)
OKLaboklab(71.54% -0.042 -0.1421)
OKLCHoklch(71.54% 0.148 253.5)
XYZxyz(35.6738, 36.5849, 98.0910)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA6FD #FDB25B
analogous
#5BF7FD #5BA6FD #615BFD
triadic
#5BA6FD #FD5BA6 #A6FD5B
tetradic
#5BA6FD #FD5BF7 #FDB25B #5BFD61
square
#5BA6FD #FD5BF7 #FDB25B #5BFD61
split-complementary
#5BA6FD #FD615B #F7FD5B
monochromatic
#0367DB #1F85FC #5BA6FD #97C7FE #D4E8FE

Accessibility & contrast

On white

2.52
#5BA6FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#5BA6FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA6FD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA6FD#FFFFFF#000000##000000
##5BA6FD1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#00BAC6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5ba6fd;
/* rgb */ color: rgb(91, 166, 253);
/* oklch */ color: oklch(71.5% 0.148 253.5);
Tailwind
colors: {
  custom: {
    50: '#98c0fe',
    500: '#5ba6fd',
    950: '#000000',
  },
}
SCSS
$custom: #5ba6fd;
$custom-light: #98c0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba6fd",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 253
  },
  "hsl": {
    "h": 212.222,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71537,
    "c": 0.14817,
    "h": 253.5
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#5BA6FD
secondary
#F3DCC1
accent
#7B00E6
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5BA6FD

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

Preview Lab → · Contrast checker → · Palette generator →

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