#5BA1E5#5BA1E5

#5BA1E5 is a light, vivid cyan. Relative luminance 0.334; OKLCH L 69.2% C 0.123 H 249.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5BA1E5
RGBrgb(91, 161, 229)
HSLhsl(210, 73%, 63%)
HSVhsv(210, 60%, 90%)
CMYKcmyk(60.3%, 29.7%, 0%, 10.2%)
CIE-LABlab(64.46, -1.90, -40.93)
CIE-LCHlch(64.46, 40.97, 267.34°)
OKLaboklab(69.21% -0.0434 -0.1154)
OKLCHoklch(69.21% 0.123 249.4)
XYZxyz(31.1970, 33.3681, 78.9102)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA1E5 #E59F5B
analogous
#5BE5E4 #5BA1E5 #5B5CE5
triadic
#5BA1E5 #E55BA1 #A1E55B
tetradic
#5BA1E5 #E45BE5 #E59F5B #5CE55B
square
#5BA1E5 #E45BE5 #E59F5B #5CE55B
split-complementary
#5BA1E5 #E55B5C #E5E45B
monochromatic
#1B64AB #2683DD #5BA1E5 #90BFED #C5DEF6

Accessibility & contrast

On white

2.74
#5BA1E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#5BA1E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA1E5
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA1E5#FFFFFF#000000##000000
##5BA1E51.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A4E8
Deuteranopia (green-blind)
#7196E4
Tritanopia (blue-blind)
#00B1B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5ba1e5;
/* rgb */ color: rgb(91, 161, 229);
/* oklch */ color: oklch(69.2% 0.123 249.4);
Tailwind
colors: {
  custom: {
    50: '#94bced',
    500: '#5ba1e5',
    950: '#000000',
  },
}
SCSS
$custom: #5ba1e5;
$custom-light: #94bced;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba1e5",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 229
  },
  "hsl": {
    "h": 209.565,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.12326,
    "h": 249.4
  },
  "luminance": 0.33371
}

Semantic roles & 50–950 ramp

primary
#5BA1E5
secondary
#E7CEB5
accent
#7111D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5BA1E5

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

Preview Lab → · Contrast checker → · Palette generator →

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