#5BA7FF#5BA7FF

#5BA7FF is a light, vivid cyan. Relative luminance 0.371; OKLCH L 71.9% C 0.150 H 253.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5BA7FF
RGBrgb(91, 167, 255)
HSLhsl(212, 100%, 68%)
HSVhsv(212, 64%, 100%)
CMYKcmyk(64.3%, 34.5%, 0%, 0%)
CIE-LABlab(67.34, 3.15, -50.62)
CIE-LCHlch(67.34, 50.72, 273.56°)
OKLaboklab(71.86% -0.0424 -0.1435)
OKLCHoklch(71.86% 0.15 253.5)
XYZxyz(36.1765, 37.0780, 99.8386)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA7FF #FFB35B
analogous
#5BF9FF #5BA7FF #615BFF
triadic
#5BA7FF #FF5BA7 #A7FF5B
tetradic
#5BA7FF #FF5BF9 #FFB35B #5BFF61
square
#5BA7FF #FF5BF9 #FFB35B #5BFF61
split-complementary
#5BA7FF #FF615B #F9FF5B
monochromatic
#0068E0 #1E86FF #5BA7FF #98C8FF #D5E9FF

Accessibility & contrast

On white

2.50
#5BA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#5BA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA7FF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA7FF#FFFFFF#000000##000000
##5BA7FF1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#6A9DFD
Tritanopia (blue-blind)
#00BBC7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5ba7ff;
/* rgb */ color: rgb(91, 167, 255);
/* oklch */ color: oklch(71.9% 0.150 253.5);
Tailwind
colors: {
  custom: {
    50: '#98c0ff',
    500: '#5ba7ff',
    950: '#000000',
  },
}
SCSS
$custom: #5ba7ff;
$custom-light: #98c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba7ff",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 212.195,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71859,
    "c": 0.1497,
    "h": 253.5
  },
  "luminance": 0.37082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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