#5B91EC#5B91EC

#5B91EC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.148 H 260.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5B91EC
RGBrgb(91, 145, 236)
HSLhsl(218, 79%, 64%)
HSVhsv(218, 61%, 93%)
CMYKcmyk(61.4%, 38.6%, 0%, 7.5%)
CIE-LABlab(60.36, 9.66, -51.25)
CIE-LCHlch(60.36, 52.15, 280.68°)
OKLaboklab(66.12% -0.025 -0.1456)
OKLCHoklch(66.12% 0.148 260.3)
XYZxyz(29.5748, 28.5284, 83.2886)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91EC #ECB65B
analogous
#5BDAEC #5B91EC #6E5BEC
triadic
#5B91EC #EC5B91 #91EC5B
tetradic
#5B91EC #EC5BDA #ECB65B #5BEC6E
square
#5B91EC #EC5BDA #ECB65B #5BEC6E
split-complementary
#5B91EC #EC6E5B #DAEC5B
monochromatic
#1552B7 #246CE6 #5B91EC #92B6F2 #C9DBF9

Accessibility & contrast

On white

3.13
#5B91EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5B91EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91EC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91EC#FFFFFF#000000##000000
##5B91EC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5b91ec;
/* rgb */ color: rgb(91, 145, 236);
/* oklch */ color: oklch(66.1% 0.148 260.3);
Tailwind
colors: {
  custom: {
    50: '#95b0f2',
    500: '#5b91ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b91ec;
$custom-light: #95b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91ec",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 217.655,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66118,
    "c": 0.14778,
    "h": 260.3
  },
  "luminance": 0.28531
}

Semantic roles & 50–950 ramp

primary
#5B91EC
secondary
#EBD8B8
accent
#8D0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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