#5BA5EB#5BA5EB

#5BA5EB is a light, vivid cyan. Relative luminance 0.351; OKLCH L 70.4% C 0.127 H 248.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5BA5EB
RGBrgb(91, 165, 235)
HSLhsl(209, 78%, 64%)
HSVhsv(209, 61%, 92%)
CMYKcmyk(61.3%, 29.8%, 0%, 7.8%)
CIE-LABlab(65.85, -2.23, -42.04)
CIE-LCHlch(65.85, 42.10, 266.96°)
OKLaboklab(70.39% -0.0458 -0.1186)
OKLCHoklch(70.39% 0.127 248.9)
XYZxyz(32.7594, 35.1295, 83.6354)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA5EB #EBA15B
analogous
#5BEBE9 #5BA5EB #5B5DEB
triadic
#5BA5EB #EB5BA5 #A5EB5B
tetradic
#5BA5EB #E95BEB #EBA15B #5DEB5B
square
#5BA5EB #E95BEB #EBA15B #5DEB5B
split-complementary
#5BA5EB #EB5B5D #EBE95B
monochromatic
#1668B5 #2487E4 #5BA5EB #92C3F2 #C8E1F8

Accessibility & contrast

On white

2.62
#5BA5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#5BA5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA5EB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA5EB#FFFFFF#000000##000000
##5BA5EB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#00B5BE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ba5eb;
/* rgb */ color: rgb(91, 165, 235);
/* oklch */ color: oklch(70.4% 0.127 248.9);
Tailwind
colors: {
  custom: {
    50: '#95bff1',
    500: '#5ba5eb',
    950: '#000000',
  },
}
SCSS
$custom: #5ba5eb;
$custom-light: #95bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba5eb",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 209.167,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.12714,
    "h": 248.9
  },
  "luminance": 0.35133
}

Semantic roles & 50–950 ramp

primary
#5BA5EB
secondary
#EAD0B8
accent
#700BDB
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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