#5BA1E9#5BA1E9

#5BA1E9 is a light, vivid cyan. Relative luminance 0.336; OKLCH L 69.4% C 0.128 H 250.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5BA1E9
RGBrgb(91, 161, 233)
HSLhsl(210, 76%, 64%)
HSVhsv(210, 61%, 91%)
CMYKcmyk(60.9%, 30.9%, 0%, 8.6%)
CIE-LABlab(64.64, -0.61, -42.84)
CIE-LCHlch(64.64, 42.85, 269.18°)
OKLaboklab(69.41% -0.0422 -0.1209)
OKLCHoklch(69.41% 0.128 250.8)
XYZxyz(31.7619, 33.5941, 81.8855)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA1E9 #E9A35B
analogous
#5BE8E9 #5BA1E9 #5C5BE9
triadic
#5BA1E9 #E95BA1 #A1E95B
tetradic
#5BA1E9 #E95BE8 #E9A35B #5BE95C
square
#5BA1E9 #E95BE8 #E9A35B #5BE95C
split-complementary
#5BA1E9 #E95C5B #E8E95B
monochromatic
#1864B2 #2582E2 #5BA1E9 #91C0F0 #C7DFF7

Accessibility & contrast

On white

2.72
#5BA1E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#5BA1E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA1E9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA1E9#FFFFFF#000000##000000
##5BA1E91.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A4EC
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#00B2BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ba1e9;
/* rgb */ color: rgb(91, 161, 233);
/* oklch */ color: oklch(69.4% 0.128 250.8);
Tailwind
colors: {
  custom: {
    50: '#95bcf0',
    500: '#5ba1e9',
    950: '#000000',
  },
}
SCSS
$custom: #5ba1e9;
$custom-light: #95bcf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba1e9",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 233
  },
  "hsl": {
    "h": 210.423,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69408,
    "c": 0.12811,
    "h": 250.8
  },
  "luminance": 0.33597
}

Semantic roles & 50–950 ramp

primary
#5BA1E9
secondary
#E9D0B7
accent
#740DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5BA1E9

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

Preview Lab → · Contrast checker → · Palette generator →

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