#5B9EF2#5B9EF2

#5B9EF2 is a light, vivid cyan. Relative luminance 0.331; OKLCH L 69.2% C 0.142 H 255.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5B9EF2
RGBrgb(91, 158, 242)
HSLhsl(213, 85%, 65%)
HSVhsv(213, 62%, 95%)
CMYKcmyk(62.4%, 34.7%, 0%, 5.1%)
CIE-LABlab(64.23, 4.04, -48.43)
CIE-LCHlch(64.23, 48.60, 274.77°)
OKLaboklab(69.23% -0.0368 -0.1373)
OKLCHoklch(69.23% 0.142 255)
XYZxyz(32.5625, 33.0856, 88.6573)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9EF2 #F2AF5B
analogous
#5BEAF2 #5B9EF2 #635BF2
triadic
#5B9EF2 #F25B9E #9EF25B
tetradic
#5B9EF2 #F25BEA #F2AF5B #5BF263
square
#5B9EF2 #F25BEA #F2AF5B #5BF263
split-complementary
#5B9EF2 #F2635B #EAF25B
monochromatic
#0F5FC3 #227CEE #5B9EF2 #94C0F6 #CCE1FB

Accessibility & contrast

On white

2.76
#5B9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#5B9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B9EF2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9EF2#FFFFFF#000000##000000
##5B9EF21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F5
Deuteranopia (green-blind)
#6595F0
Tritanopia (blue-blind)
#00B1BD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5b9ef2;
/* rgb */ color: rgb(91, 158, 242);
/* oklch */ color: oklch(69.2% 0.142 255.0);
Tailwind
colors: {
  custom: {
    50: '#96baf7',
    500: '#5b9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5b9ef2;
$custom-light: #96baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9ef2",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 213.377,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69226,
    "c": 0.1421,
    "h": 255
  },
  "luminance": 0.33089
}

Semantic roles & 50–950 ramp

primary
#5B9EF2
secondary
#EED7BB
accent
#7F04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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