#5BA7EB#5BA7EB

#5BA7EB is a light, vivid cyan. Relative luminance 0.359; OKLCH L 70.8% C 0.126 H 247.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5BA7EB
RGBrgb(91, 167, 235)
HSLhsl(208, 78%, 64%)
HSVhsv(208, 61%, 92%)
CMYKcmyk(61.3%, 28.9%, 0%, 7.8%)
CIE-LABlab(66.41, -3.36, -41.17)
CIE-LCHlch(66.41, 41.30, 265.34°)
OKLaboklab(70.83% -0.0479 -0.116)
OKLCHoklch(70.83% 0.126 247.6)
XYZxyz(33.1230, 35.8566, 83.7566)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA7EB #EB9F5B
analogous
#5BEBE7 #5BA7EB #5B5FEB
triadic
#5BA7EB #EB5BA7 #A7EB5B
tetradic
#5BA7EB #E75BEB #EB9F5B #5FEB5B
square
#5BA7EB #E75BEB #EB9F5B #5FEB5B
split-complementary
#5BA7EB #EB5B5F #EBE75B
monochromatic
#166AB5 #248AE4 #5BA7EB #92C4F2 #C8E2F8

Accessibility & contrast

On white

2.57
#5BA7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#5BA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA7EB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA7EB#FFFFFF#000000##000000
##5BA7EB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9EE
Deuteranopia (green-blind)
#769BEA
Tritanopia (blue-blind)
#00B7BF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ba7eb;
/* rgb */ color: rgb(91, 167, 235);
/* oklch */ color: oklch(70.8% 0.126 247.6);
Tailwind
colors: {
  custom: {
    50: '#95c0f1',
    500: '#5ba7eb',
    950: '#000000',
  },
}
SCSS
$custom: #5ba7eb;
$custom-light: #95c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba7eb",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 208.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.12552,
    "h": 247.6
  },
  "luminance": 0.3586
}

Semantic roles & 50–950 ramp

primary
#5BA7EB
secondary
#EACFB8
accent
#6D0BDB
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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