#5BA3F8#5BA3F8

#5BA3F8 is a light, vivid cyan. Relative luminance 0.352; OKLCH L 70.6% C 0.145 H 253.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5BA3F8
RGBrgb(91, 163, 248)
HSLhsl(212, 92%, 66%)
HSVhsv(212, 63%, 97%)
CMYKcmyk(63.3%, 34.3%, 0%, 2.7%)
CIE-LABlab(65.90, 3.14, -49.08)
CIE-LCHlch(65.90, 49.18, 273.66°)
OKLaboklab(70.63% -0.0403 -0.1391)
OKLCHoklch(70.63% 0.145 253.9)
XYZxyz(34.3487, 35.1925, 93.7714)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA3F8 #F8B05B
analogous
#5BF2F8 #5BA3F8 #625BF8
triadic
#5BA3F8 #F85BA3 #A3F85B
tetradic
#5BA3F8 #F85BF2 #F8B05B #5BF862
square
#5BA3F8 #F85BF2 #F8B05B #5BF862
split-complementary
#5BA3F8 #F8625B #F2F85B
monochromatic
#0964D0 #2082F5 #5BA3F8 #96C4FB #D0E5FD

Accessibility & contrast

On white

2.61
#5BA3F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#5BA3F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA3F8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA3F8#FFFFFF#000000##000000
##5BA3F81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#00B7C2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ba3f8;
/* rgb */ color: rgb(91, 163, 248);
/* oklch */ color: oklch(70.6% 0.145 253.9);
Tailwind
colors: {
  custom: {
    50: '#97bdfb',
    500: '#5ba3f8',
    950: '#000000',
  },
}
SCSS
$custom: #5ba3f8;
$custom-light: #97bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba3f8",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 248
  },
  "hsl": {
    "h": 212.484,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70625,
    "c": 0.14481,
    "h": 253.9
  },
  "luminance": 0.35196
}

Semantic roles & 50–950 ramp

primary
#5BA3F8
secondary
#F1DABE
accent
#7C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA3F8

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

Preview Lab → · Contrast checker → · Palette generator →

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