#5BA5F4#5BA5F4

#5BA5F4 is a light, vivid cyan. Relative luminance 0.357; OKLCH L 70.8% C 0.138 H 251.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5BA5F4
RGBrgb(91, 165, 244)
HSLhsl(211, 87%, 66%)
HSVhsv(211, 63%, 96%)
CMYKcmyk(62.7%, 32.4%, 0%, 4.3%)
CIE-LABlab(66.26, 0.68, -46.32)
CIE-LCHlch(66.26, 46.33, 270.84°)
OKLaboklab(70.85% -0.0433 -0.131)
OKLCHoklch(70.85% 0.138 251.7)
XYZxyz(34.0927, 35.6628, 90.6573)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA5F4 #F4AA5B
analogous
#5BF2F4 #5BA5F4 #5D5BF4
triadic
#5BA5F4 #F45BA5 #A5F45B
tetradic
#5BA5F4 #F45BF2 #F4AA5B #5BF45D
square
#5BA5F4 #F45BF2 #F4AA5B #5BF45D
split-complementary
#5BA5F4 #F45D5B #F2F45B
monochromatic
#0D67C7 #2286F0 #5BA5F4 #94C4F8 #CEE4FC

Accessibility & contrast

On white

2.58
#5BA5F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#5BA5F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA5F4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA5F4#FFFFFF#000000##000000
##5BA5F41.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F7
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#00B7C1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ba5f4;
/* rgb */ color: rgb(91, 165, 244);
/* oklch */ color: oklch(70.8% 0.138 251.7);
Tailwind
colors: {
  custom: {
    50: '#96bff8',
    500: '#5ba5f4',
    950: '#000000',
  },
}
SCSS
$custom: #5ba5f4;
$custom-light: #96bff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba5f4",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 244
  },
  "hsl": {
    "h": 210.98,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70847,
    "c": 0.13801,
    "h": 251.7
  },
  "luminance": 0.35666
}

Semantic roles & 50–950 ramp

primary
#5BA5F4
secondary
#EFD6BC
accent
#7602E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA5F4

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

Preview Lab → · Contrast checker → · Palette generator →

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