#5BA1EB#5BA1EB

#5BA1EB is a light, vivid cyan. Relative luminance 0.337; OKLCH L 69.5% C 0.131 H 251.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5BA1EB
RGBrgb(91, 161, 235)
HSLhsl(211, 78%, 64%)
HSVhsv(211, 61%, 92%)
CMYKcmyk(61.3%, 31.5%, 0%, 7.8%)
CIE-LABlab(64.73, 0.04, -43.80)
CIE-LCHlch(64.73, 43.80, 270.05°)
OKLaboklab(69.51% -0.0417 -0.1237)
OKLCHoklch(69.51% 0.131 251.4)
XYZxyz(32.0492, 33.7090, 83.3987)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA1EB #EBA55B
analogous
#5BE9EB #5BA1EB #5D5BEB
triadic
#5BA1EB #EB5BA1 #A1EB5B
tetradic
#5BA1EB #EB5BE9 #EBA55B #5BEB5D
square
#5BA1EB #EB5BE9 #EBA55B #5BEB5D
split-complementary
#5BA1EB #EB5D5B #E9EB5B
monochromatic
#1664B5 #2482E4 #5BA1EB #92C0F2 #C8E0F8

Accessibility & contrast

On white

2.71
#5BA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#5BA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA1EB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA1EB#FFFFFF#000000##000000
##5BA1EB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#00B2BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ba1eb;
/* rgb */ color: rgb(91, 161, 235);
/* oklch */ color: oklch(69.5% 0.131 251.4);
Tailwind
colors: {
  custom: {
    50: '#95bcf2',
    500: '#5ba1eb',
    950: '#000000',
  },
}
SCSS
$custom: #5ba1eb;
$custom-light: #95bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba1eb",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 210.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6951,
    "c": 0.13056,
    "h": 251.4
  },
  "luminance": 0.33712
}

Semantic roles & 50–950 ramp

primary
#5BA1EB
secondary
#EAD2B8
accent
#760BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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