#5BA2F2#5BA2F2

#5BA2F2 is a light, vivid cyan. Relative luminance 0.345; OKLCH L 70.1% C 0.138 H 252.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5BA2F2
RGBrgb(91, 162, 242)
HSLhsl(212, 85%, 65%)
HSVhsv(212, 62%, 95%)
CMYKcmyk(62.4%, 33.1%, 0%, 5.1%)
CIE-LABlab(65.34, 1.74, -46.69)
CIE-LCHlch(65.34, 46.72, 272.14°)
OKLaboklab(70.09% -0.0408 -0.1321)
OKLCHoklch(70.09% 0.138 252.8)
XYZxyz(33.2559, 34.4724, 88.8885)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2F2 #F2AB5B
analogous
#5BEEF2 #5BA2F2 #5F5BF2
triadic
#5BA2F2 #F25BA2 #A2F25B
tetradic
#5BA2F2 #F25BEE #F2AB5B #5BF25F
square
#5BA2F2 #F25BEE #F2AB5B #5BF25F
split-complementary
#5BA2F2 #F25F5B #EEF25B
monochromatic
#0F64C3 #2282EE #5BA2F2 #94C2F6 #CCE2FB

Accessibility & contrast

On white

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

On black

7.90
#5BA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2F2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2F2#FFFFFF#000000##000000
##5BA2F21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F5
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#00B4BF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ba2f2;
/* rgb */ color: rgb(91, 162, 242);
/* oklch */ color: oklch(70.1% 0.138 252.8);
Tailwind
colors: {
  custom: {
    50: '#96bdf6',
    500: '#5ba2f2',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2f2;
$custom-light: #96bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2f2",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 211.788,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.13829,
    "h": 252.8
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#5BA2F2
secondary
#EED6BB
accent
#7904E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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