#5BA6F2#5BA6F2

#5BA6F2 is a light, vivid cyan. Relative luminance 0.359; OKLCH L 71.0% C 0.135 H 250.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5BA6F2
RGBrgb(91, 166, 242)
HSLhsl(210, 85%, 65%)
HSVhsv(210, 62%, 95%)
CMYKcmyk(62.4%, 31.4%, 0%, 5.1%)
CIE-LABlab(66.45, -0.54, -44.94)
CIE-LCHlch(66.45, 44.94, 269.32°)
OKLaboklab(70.96% -0.0449 -0.127)
OKLCHoklch(70.96% 0.135 250.5)
XYZxyz(33.9717, 35.9041, 89.1271)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA6F2 #F2A75B
analogous
#5BF1F2 #5BA6F2 #5C5BF2
triadic
#5BA6F2 #F25BA6 #A6F25B
tetradic
#5BA6F2 #F25BF1 #F2A75B #5BF25C
square
#5BA6F2 #F25BF1 #F2A75B #5BF25C
split-complementary
#5BA6F2 #F25C5B #F1F25B
monochromatic
#0F69C3 #2287EE #5BA6F2 #94C5F6 #CCE4FB

Accessibility & contrast

On white

2.57
#5BA6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#5BA6F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA6F2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA6F2#FFFFFF#000000##000000
##5BA6F21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#00B8C1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5ba6f2;
/* rgb */ color: rgb(91, 166, 242);
/* oklch */ color: oklch(71.0% 0.135 250.5);
Tailwind
colors: {
  custom: {
    50: '#96c0f6',
    500: '#5ba6f2',
    950: '#000000',
  },
}
SCSS
$custom: #5ba6f2;
$custom-light: #96c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba6f2",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 242
  },
  "hsl": {
    "h": 210.199,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70962,
    "c": 0.13469,
    "h": 250.5
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#5BA6F2
secondary
#EED5BB
accent
#7304E2
background
#F9FBFF
surface
#F2F7FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA6F2

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

Preview Lab → · Contrast checker → · Palette generator →

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