#5BA2EF#5BA2EF

#5BA2EF is a light, vivid cyan. Relative luminance 0.343; OKLCH L 69.9% C 0.135 H 252.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5BA2EF
RGBrgb(91, 162, 239)
HSLhsl(211, 82%, 65%)
HSVhsv(211, 62%, 94%)
CMYKcmyk(61.9%, 32.2%, 0%, 6.3%)
CIE-LABlab(65.19, 0.76, -45.27)
CIE-LCHlch(65.19, 45.27, 270.97°)
OKLaboklab(69.94% -0.0416 -0.128)
OKLCHoklch(69.94% 0.135 252)
XYZxyz(32.8090, 34.2937, 86.5349)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2EF #EFA85B
analogous
#5BECEF #5BA2EF #5E5BEF
triadic
#5BA2EF #EF5BA2 #A2EF5B
tetradic
#5BA2EF #EF5BEC #EFA85B #5BEF5E
square
#5BA2EF #EF5BEC #EFA85B #5BEF5E
split-complementary
#5BA2EF #EF5E5B #ECEF5B
monochromatic
#1264BD #2382EA #5BA2EF #93C2F4 #CBE1FA

Accessibility & contrast

On white

2.67
#5BA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#5BA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2EF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2EF#FFFFFF#000000##000000
##5BA2EF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ba2ef;
/* rgb */ color: rgb(91, 162, 239);
/* oklch */ color: oklch(69.9% 0.135 252.0);
Tailwind
colors: {
  custom: {
    50: '#96bdf4',
    500: '#5ba2ef',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2ef;
$custom-light: #96bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2ef",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 211.216,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69935,
    "c": 0.13458,
    "h": 252
  },
  "luminance": 0.34297
}

Semantic roles & 50–950 ramp

primary
#5BA2EF
secondary
#ECD4BA
accent
#7707DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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