#5BA7F8#5BA7F8

#5BA7F8 is a light, vivid cyan. Relative luminance 0.366; OKLCH L 71.5% C 0.141 H 251.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5BA7F8
RGBrgb(91, 167, 248)
HSLhsl(211, 92%, 66%)
HSVhsv(211, 63%, 97%)
CMYKcmyk(63.3%, 32.7%, 0%, 2.7%)
CIE-LABlab(67.00, 0.85, -47.34)
CIE-LCHlch(67.00, 47.35, 271.03°)
OKLaboklab(71.49% -0.0443 -0.134)
OKLCHoklch(71.49% 0.141 251.7)
XYZxyz(35.0702, 36.6355, 94.0119)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA7F8 #F8AC5B
analogous
#5BF6F8 #5BA7F8 #5E5BF8
triadic
#5BA7F8 #F85BA7 #A7F85B
tetradic
#5BA7F8 #F85BF6 #F8AC5B #5BF85E
square
#5BA7F8 #F85BF6 #F8AC5B #5BF85E
split-complementary
#5BA7F8 #F85E5B #F6F85B
monochromatic
#0969D0 #2088F5 #5BA7F8 #96C6FB #D0E6FD

Accessibility & contrast

On white

2.52
#5BA7F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#5BA7F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA7F8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA7F8#FFFFFF#000000##000000
##5BA7F81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFB
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#00BAC4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5ba7f8;
/* rgb */ color: rgb(91, 167, 248);
/* oklch */ color: oklch(71.5% 0.141 251.7);
Tailwind
colors: {
  custom: {
    50: '#97c0fb',
    500: '#5ba7f8',
    950: '#000000',
  },
}
SCSS
$custom: #5ba7f8;
$custom-light: #97c0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba7f8",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 248
  },
  "hsl": {
    "h": 210.955,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.1411,
    "h": 251.7
  },
  "luminance": 0.36639
}

Semantic roles & 50–950 ramp

primary
#5BA7F8
secondary
#F1D8BE
accent
#7600E6
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5BA7F8

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

Preview Lab → · Contrast checker → · Palette generator →

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