#5BA2EC#5BA2EC

#5BA2EC is a light, vivid cyan. Relative luminance 0.341; OKLCH L 69.8% C 0.131 H 251.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5BA2EC
RGBrgb(91, 162, 236)
HSLhsl(211, 79%, 64%)
HSVhsv(211, 61%, 93%)
CMYKcmyk(61.4%, 31.4%, 0%, 7.5%)
CIE-LABlab(65.06, -0.21, -43.84)
CIE-LCHlch(65.06, 43.84, 269.73°)
OKLaboklab(69.78% -0.0424 -0.1238)
OKLCHoklch(69.78% 0.131 251.1)
XYZxyz(32.3695, 34.1179, 84.2202)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2EC #ECA55B
analogous
#5BEAEC #5BA2EC #5D5BEC
triadic
#5BA2EC #EC5BA2 #A2EC5B
tetradic
#5BA2EC #EC5BEA #ECA55B #5BEC5D
square
#5BA2EC #EC5BEA #ECA55B #5BEC5D
split-complementary
#5BA2EC #EC5D5B #EAEC5B
monochromatic
#1565B7 #2483E6 #5BA2EC #92C1F2 #C9E0F9

Accessibility & contrast

On white

2.68
#5BA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#5BA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2EC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2EC#FFFFFF#000000##000000
##5BA2EC1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#00B3BC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ba2ec;
/* rgb */ color: rgb(91, 162, 236);
/* oklch */ color: oklch(69.8% 0.131 251.1);
Tailwind
colors: {
  custom: {
    50: '#95bdf2',
    500: '#5ba2ec',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2ec;
$custom-light: #95bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2ec",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 210.621,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.1309,
    "h": 251.1
  },
  "luminance": 0.34121
}

Semantic roles & 50–950 ramp

primary
#5BA2EC
secondary
#EBD2B8
accent
#750ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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