#5BA7EF#5BA7EF

#5BA7EF is a light, vivid cyan. Relative luminance 0.361; OKLCH L 71.0% C 0.130 H 249.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5BA7EF
RGBrgb(91, 167, 239)
HSLhsl(209, 82%, 65%)
HSVhsv(209, 62%, 94%)
CMYKcmyk(61.9%, 30.1%, 0%, 6.3%)
CIE-LABlab(66.59, -2.07, -43.08)
CIE-LCHlch(66.59, 43.13, 267.25°)
OKLaboklab(71.03% -0.0467 -0.1216)
OKLCHoklch(71.03% 0.13 249)
XYZxyz(33.7074, 36.0903, 86.8344)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA7EF #EFA35B
analogous
#5BEFED #5BA7EF #5B5DEF
triadic
#5BA7EF #EF5BA7 #A7EF5B
tetradic
#5BA7EF #ED5BEF #EFA35B #5DEF5B
square
#5BA7EF #ED5BEF #EFA35B #5DEF5B
split-complementary
#5BA7EF #EF5B5D #EFED5B
monochromatic
#126ABD #2389EA #5BA7EF #93C5F4 #CBE3FA

Accessibility & contrast

On white

2.56
#5BA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#5BA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA7EF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA7EF#FFFFFF#000000##000000
##5BA7EF1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#749BEE
Tritanopia (blue-blind)
#00B8C0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5ba7ef;
/* rgb */ color: rgb(91, 167, 239);
/* oklch */ color: oklch(71.0% 0.130 249.0);
Tailwind
colors: {
  custom: {
    50: '#96c0f4',
    500: '#5ba7ef',
    950: '#000000',
  },
}
SCSS
$custom: #5ba7ef;
$custom-light: #96c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba7ef",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 209.189,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.13024,
    "h": 249
  },
  "luminance": 0.36094
}

Semantic roles & 50–950 ramp

primary
#5BA7EF
secondary
#ECD2BA
accent
#7007DF
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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