#5BA2E7#5BA2E7

#5BA2E7 is a light, vivid cyan. Relative luminance 0.338; OKLCH L 69.5% C 0.125 H 249.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5BA2E7
RGBrgb(91, 162, 231)
HSLhsl(210, 74%, 63%)
HSVhsv(210, 61%, 91%)
CMYKcmyk(60.6%, 29.9%, 0%, 9.4%)
CIE-LABlab(64.83, -1.82, -41.45)
CIE-LCHlch(64.83, 41.49, 267.48°)
OKLaboklab(69.53% -0.0438 -0.1169)
OKLCHoklch(69.53% 0.125 249.4)
XYZxyz(31.6533, 33.8314, 80.4478)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2E7 #E7A05B
analogous
#5BE7E6 #5BA2E7 #5B5CE7
triadic
#5BA2E7 #E75BA2 #A2E75B
tetradic
#5BA2E7 #E65BE7 #E7A05B #5CE75B
square
#5BA2E7 #E65BE7 #E7A05B #5CE75B
split-complementary
#5BA2E7 #E75B5C #E7E65B
monochromatic
#1965AE #2684DF #5BA2E7 #90C0EF #C6DFF7

Accessibility & contrast

On white

2.70
#5BA2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#5BA2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2E7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2E7#FFFFFF#000000##000000
##5BA2E71.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A5EA
Deuteranopia (green-blind)
#7297E6
Tritanopia (blue-blind)
#00B2BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ba2e7;
/* rgb */ color: rgb(91, 162, 231);
/* oklch */ color: oklch(69.5% 0.125 249.4);
Tailwind
colors: {
  custom: {
    50: '#95bdef',
    500: '#5ba2e7',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2e7;
$custom-light: #95bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2e7",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 209.571,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.12484,
    "h": 249.4
  },
  "luminance": 0.33834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BA2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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