#5BA2F5#5BA2F5

#5BA2F5 is a light, vivid cyan. Relative luminance 0.347; OKLCH L 70.3% C 0.142 H 253.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5BA2F5
RGBrgb(91, 162, 245)
HSLhsl(212, 89%, 66%)
HSVhsv(212, 63%, 96%)
CMYKcmyk(62.9%, 33.9%, 0%, 3.9%)
CIE-LABlab(65.48, 2.72, -48.10)
CIE-LCHlch(65.48, 48.18, 273.24°)
OKLaboklab(70.25% -0.04 -0.1363)
OKLCHoklch(70.25% 0.142 253.6)
XYZxyz(33.7102, 34.6541, 91.2809)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA2F5 #F5AE5B
analogous
#5BEFF5 #5BA2F5 #615BF5
triadic
#5BA2F5 #F55BA2 #A2F55B
tetradic
#5BA2F5 #F55BEF #F5AE5B #5BF561
square
#5BA2F5 #F55BEF #F5AE5B #5BF561
split-complementary
#5BA2F5 #F5615B #EFF55B
monochromatic
#0C63C9 #2181F1 #5BA2F5 #95C3F9 #CEE3FC

Accessibility & contrast

On white

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

On black

7.93
#5BA2F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA2F5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA2F5#FFFFFF#000000##000000
##5BA2F51.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7F8
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#00B5C0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ba2f5;
/* rgb */ color: rgb(91, 162, 245);
/* oklch */ color: oklch(70.3% 0.142 253.6);
Tailwind
colors: {
  custom: {
    50: '#97bdf9',
    500: '#5ba2f5',
    950: '#000000',
  },
}
SCSS
$custom: #5ba2f5;
$custom-light: #97bdf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba2f5",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 245
  },
  "hsl": {
    "h": 212.338,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.14202,
    "h": 253.6
  },
  "luminance": 0.34657
}

Semantic roles & 50–950 ramp

primary
#5BA2F5
secondary
#EFD8BC
accent
#7C00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA2F5

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

Preview Lab → · Contrast checker → · Palette generator →

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