#5BA2F1#5BA2F1

#5BA2F1 is a light, vivid cyan. Relative luminance 0.344; OKLCH L 70.0% C 0.137 H 252.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5BA2F1
RGBrgb(91, 162, 241)
HSLhsl(212, 84%, 65%)
HSVhsv(212, 62%, 95%)
CMYKcmyk(62.2%, 32.8%, 0%, 5.5%)
CIE-LABlab(65.29, 1.42, -46.21)
CIE-LCHlch(65.29, 46.24, 271.75°)
OKLaboklab(70.04% -0.0411 -0.1307)
OKLCHoklch(70.04% 0.137 252.6)
XYZxyz(33.1061, 34.4125, 88.0996)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2F1 #F1AA5B
analogous
#5BEDF1 #5BA2F1 #5F5BF1
triadic
#5BA2F1 #F15BA2 #A2F15B
tetradic
#5BA2F1 #F15BED #F1AA5B #5BF15F
square
#5BA2F1 #F15BED #F1AA5B #5BF15F
split-complementary
#5BA2F1 #F15F5B #EDF15B
monochromatic
#1064C1 #2382EC #5BA2F1 #93C2F6 #CCE2FB

Accessibility & contrast

On white

2.66
#5BA2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#5BA2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2F1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2F1#FFFFFF#000000##000000
##5BA2F11.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F4
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ba2f1;
/* rgb */ color: rgb(91, 162, 241);
/* oklch */ color: oklch(70.0% 0.137 252.6);
Tailwind
colors: {
  custom: {
    50: '#96bdf6',
    500: '#5ba2f1',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2f1;
$custom-light: #96bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2f1",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 211.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70039,
    "c": 0.13705,
    "h": 252.6
  },
  "luminance": 0.34416
}

Semantic roles & 50–950 ramp

primary
#5BA2F1
secondary
#EDD5BA
accent
#7905E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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