#5BA5F5#5BA5F5

#5BA5F5 is a light, vivid cyan. Relative luminance 0.357; OKLCH L 70.9% C 0.139 H 252.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5BA5F5
RGBrgb(91, 165, 245)
HSLhsl(211, 89%, 66%)
HSVhsv(211, 63%, 96%)
CMYKcmyk(62.9%, 32.7%, 0%, 3.9%)
CIE-LABlab(66.31, 1.01, -46.80)
CIE-LCHlch(66.31, 46.81, 271.24°)
OKLaboklab(70.9% -0.043 -0.1324)
OKLCHoklch(70.9% 0.139 252)
XYZxyz(34.2449, 35.7237, 91.4591)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA5F5 #F5AB5B
analogous
#5BF2F5 #5BA5F5 #5E5BF5
triadic
#5BA5F5 #F55BA5 #A5F55B
tetradic
#5BA5F5 #F55BF2 #F5AB5B #5BF55E
square
#5BA5F5 #F55BF2 #F5AB5B #5BF55E
split-complementary
#5BA5F5 #F55E5B #F2F55B
monochromatic
#0C67C9 #2185F1 #5BA5F5 #95C5F9 #CEE4FC

Accessibility & contrast

On white

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

On black

8.15
#5BA5F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA5F5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA5F5#FFFFFF#000000##000000
##5BA5F51.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A9F8
Deuteranopia (green-blind)
#6D9BF3
Tritanopia (blue-blind)
#00B8C2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ba5f5;
/* rgb */ color: rgb(91, 165, 245);
/* oklch */ color: oklch(70.9% 0.139 252.0);
Tailwind
colors: {
  custom: {
    50: '#97bff9',
    500: '#5ba5f5',
    950: '#000000',
  },
}
SCSS
$custom: #5ba5f5;
$custom-light: #97bff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba5f5",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 245
  },
  "hsl": {
    "h": 211.169,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70899,
    "c": 0.13924,
    "h": 252
  },
  "luminance": 0.35727
}

Semantic roles & 50–950 ramp

primary
#5BA5F5
secondary
#EFD7BC
accent
#7700E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA5F5

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

Preview Lab → · Contrast checker → · Palette generator →

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