#5BA8EF#5BA8EF

#5BA8EF is a light, vivid cyan. Relative luminance 0.365; OKLCH L 71.2% C 0.129 H 248.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5BA8EF
RGBrgb(91, 168, 239)
HSLhsl(209, 82%, 65%)
HSVhsv(209, 62%, 94%)
CMYKcmyk(61.9%, 29.7%, 0%, 6.3%)
CIE-LABlab(66.87, -2.63, -42.64)
CIE-LCHlch(66.87, 42.72, 266.46°)
OKLaboklab(71.25% -0.0478 -0.1203)
OKLCHoklch(71.25% 0.129 248.3)
XYZxyz(33.8913, 36.4581, 86.8957)
Luminance0.3646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA8EF #EFA25B
analogous
#5BEFEC #5BA8EF #5B5EEF
triadic
#5BA8EF #EF5BA8 #A8EF5B
tetradic
#5BA8EF #EC5BEF #EFA25B #5EEF5B
square
#5BA8EF #EC5BEF #EFA25B #5EEF5B
split-complementary
#5BA8EF #EF5B5E #EFEC5B
monochromatic
#126BBD #238AEA #5BA8EF #93C6F4 #CBE3FA

Accessibility & contrast

On white

2.53
#5BA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#5BA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA8EF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA8EF#FFFFFF#000000##000000
##5BA8EF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF2
Deuteranopia (green-blind)
#759CEE
Tritanopia (blue-blind)
#00B9C1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5ba8ef;
/* rgb */ color: rgb(91, 168, 239);
/* oklch */ color: oklch(71.2% 0.129 248.3);
Tailwind
colors: {
  custom: {
    50: '#96c1f4',
    500: '#5ba8ef',
    950: '#000000',
  },
}
SCSS
$custom: #5ba8ef;
$custom-light: #96c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba8ef",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 208.784,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71249,
    "c": 0.12942,
    "h": 248.3
  },
  "luminance": 0.36461
}

Semantic roles & 50–950 ramp

primary
#5BA8EF
secondary
#ECD2BA
accent
#6E07DF
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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