#5BA2F4#5BA2F4

#5BA2F4 is a light, vivid cyan. Relative luminance 0.346; OKLCH L 70.2% C 0.141 H 253.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5BA2F4
RGBrgb(91, 162, 244)
HSLhsl(212, 87%, 66%)
HSVhsv(212, 63%, 96%)
CMYKcmyk(62.7%, 33.6%, 0%, 4.3%)
CIE-LABlab(65.43, 2.40, -47.63)
CIE-LCHlch(65.43, 47.69, 272.88°)
OKLaboklab(70.2% -0.0403 -0.1349)
OKLCHoklch(70.2% 0.141 253.4)
XYZxyz(33.5579, 34.5932, 90.4791)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2F4 #F4AD5B
analogous
#5BEEF4 #5BA2F4 #605BF4
triadic
#5BA2F4 #F45BA2 #A2F45B
tetradic
#5BA2F4 #F45BEE #F4AD5B #5BF460
square
#5BA2F4 #F45BEE #F4AD5B #5BF460
split-complementary
#5BA2F4 #F4605B #EEF45B
monochromatic
#0D64C7 #2281F0 #5BA2F4 #94C3F8 #CEE3FC

Accessibility & contrast

On white

2.65
#5BA2F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#5BA2F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2F4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2F4#FFFFFF#000000##000000
##5BA2F41.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F7
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#00B5C0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ba2f4;
/* rgb */ color: rgb(91, 162, 244);
/* oklch */ color: oklch(70.2% 0.141 253.4);
Tailwind
colors: {
  custom: {
    50: '#96bdf8',
    500: '#5ba2f4',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2f4;
$custom-light: #96bdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2f4",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 244
  },
  "hsl": {
    "h": 212.157,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70197,
    "c": 0.14077,
    "h": 253.4
  },
  "luminance": 0.34596
}

Semantic roles & 50–950 ramp

primary
#5BA2F4
secondary
#EFD7BC
accent
#7B02E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA2F4

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

Preview Lab → · Contrast checker → · Palette generator →

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