#5BA7FA#5BA7FA

#5BA7FA is a light, vivid cyan. Relative luminance 0.368; OKLCH L 71.6% C 0.144 H 252.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5BA7FA
RGBrgb(91, 167, 250)
HSLhsl(211, 94%, 67%)
HSVhsv(211, 64%, 98%)
CMYKcmyk(63.6%, 33.2%, 0%, 2%)
CIE-LABlab(67.10, 1.51, -48.28)
CIE-LCHlch(67.10, 48.30, 271.79°)
OKLaboklab(71.59% -0.0437 -0.1367)
OKLCHoklch(71.59% 0.144 252.3)
XYZxyz(35.3821, 36.7602, 95.6547)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA7FA #FAAE5B
analogous
#5BF6FA #5BA7FA #5F5BFA
triadic
#5BA7FA #FA5BA7 #A7FA5B
tetradic
#5BA7FA #FA5BF6 #FAAE5B #5BFA5F
square
#5BA7FA #FA5BF6 #FAAE5B #5BFA5F
split-complementary
#5BA7FA #FA5F5B #F6FA5B
monochromatic
#0669D4 #2087F8 #5BA7FA #96C7FC #D2E7FE

Accessibility & contrast

On white

2.51
#5BA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#5BA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA7FA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA7FA#FFFFFF#000000##000000
##5BA7FA1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#00BAC5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5ba7fa;
/* rgb */ color: rgb(91, 167, 250);
/* oklch */ color: oklch(71.6% 0.144 252.3);
Tailwind
colors: {
  custom: {
    50: '#97c0fc',
    500: '#5ba7fa',
    950: '#000000',
  },
}
SCSS
$custom: #5ba7fa;
$custom-light: #97c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba7fa",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 211.321,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71594,
    "c": 0.14354,
    "h": 252.3
  },
  "luminance": 0.36764
}

Semantic roles & 50–950 ramp

primary
#5BA7FA
secondary
#F2DABF
accent
#7800E6
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5BA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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