#5BA1E7#5BA1E7

#5BA1E7 is a light, vivid cyan. Relative luminance 0.335; OKLCH L 69.3% C 0.126 H 250.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5BA1E7
RGBrgb(91, 161, 231)
HSLhsl(210, 74%, 63%)
HSVhsv(210, 61%, 91%)
CMYKcmyk(60.6%, 30.3%, 0%, 9.4%)
CIE-LABlab(64.55, -1.26, -41.89)
CIE-LCHlch(64.55, 41.91, 268.28°)
OKLaboklab(69.31% -0.0428 -0.1182)
OKLCHoklch(69.31% 0.126 250.1)
XYZxyz(31.4778, 33.4805, 80.3893)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA1E7 #E7A15B
analogous
#5BE7E7 #5BA1E7 #5B5BE7
triadic
#5BA1E7 #E75BA1 #A1E75B
tetradic
#5BA1E7 #E75BE7 #E7A15B #5BE75B
square
#5BA1E7 #E75BE7 #E7A15B #5BE75B
split-complementary
#5BA1E7 #E75B5B #E7E75B
monochromatic
#1964AE #2682DF #5BA1E7 #90C0EF #C6DEF7

Accessibility & contrast

On white

2.73
#5BA1E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#5BA1E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA1E7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA1E7#FFFFFF#000000##000000
##5BA1E71.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4EA
Deuteranopia (green-blind)
#7096E6
Tritanopia (blue-blind)
#00B1BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ba1e7;
/* rgb */ color: rgb(91, 161, 231);
/* oklch */ color: oklch(69.3% 0.126 250.1);
Tailwind
colors: {
  custom: {
    50: '#95bcef',
    500: '#5ba1e7',
    950: '#000000',
  },
}
SCSS
$custom: #5ba1e7;
$custom-light: #95bcef;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba1e7",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 231
  },
  "hsl": {
    "h": 210,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69306,
    "c": 0.12568,
    "h": 250.1
  },
  "luminance": 0.33483
}

Semantic roles & 50–950 ramp

primary
#5BA1E7
secondary
#E8CFB6
accent
#730FD7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5BA1E7

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

Preview Lab → · Contrast checker → · Palette generator →

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