#5BA8F4#5BA8F4

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

Color values

HEX#5BA8F4
RGBrgb(91, 168, 244)
HSLhsl(210, 87%, 66%)
HSVhsv(210, 63%, 96%)
CMYKcmyk(62.7%, 31.1%, 0%, 4.3%)
CIE-LABlab(67.09, -1.02, -45.01)
CIE-LCHlch(67.09, 45.02, 268.70°)
OKLaboklab(71.5% -0.0463 -0.1272)
OKLCHoklch(71.5% 0.135 250)
XYZxyz(34.6401, 36.7577, 90.8398)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA8F4 #F4A75B
analogous
#5BF4F4 #5BA8F4 #5B5BF4
triadic
#5BA8F4 #F45BA8 #A8F45B
tetradic
#5BA8F4 #F45BF4 #F4A75B #5BF45B
square
#5BA8F4 #F45BF4 #F4A75B #5BF45B
split-complementary
#5BA8F4 #F45B5B #F4F45B
monochromatic
#0D6BC7 #228AF0 #5BA8F4 #94C6F8 #CEE5FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA8F4#FFFFFF#000000##000000
##5BA8F41.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)
#87ABF7
Deuteranopia (green-blind)
#729DF2
Tritanopia (blue-blind)
#00BAC3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5ba8f4;
/* rgb */ color: rgb(91, 168, 244);
/* oklch */ color: oklch(71.5% 0.135 250.0);
Tailwind
colors: {
  custom: {
    50: '#96c1f8',
    500: '#5ba8f4',
    950: '#000000',
  },
}
SCSS
$custom: #5ba8f4;
$custom-light: #96c1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba8f4",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 244
  },
  "hsl": {
    "h": 209.804,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.13537,
    "h": 250
  },
  "luminance": 0.36761
}

Semantic roles & 50–950 ramp

primary
#5BA8F4
secondary
#EFD5BC
accent
#7202E4
background
#F9FBFF
surface
#F2F7FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA8F4

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

Preview Lab → · Contrast checker → · Palette generator →

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