#5B89E7#5B89E7

#5B89E7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.1% C 0.150 H 263.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5B89E7
RGBrgb(91, 137, 231)
HSLhsl(220, 74%, 63%)
HSVhsv(220, 61%, 91%)
CMYKcmyk(60.6%, 40.7%, 0%, 9.4%)
CIE-LABlab(57.93, 12.77, -52.35)
CIE-LCHlch(57.93, 53.89, 283.71°)
OKLaboklab(64.15% -0.0179 -0.149)
OKLCHoklch(64.15% 0.15 263.1)
XYZxyz(27.6788, 25.8826, 79.1230)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89E7 #E7B95B
analogous
#5BCFE7 #5B89E7 #735BE7
triadic
#5B89E7 #E75B89 #89E75B
tetradic
#5B89E7 #E75BCF #E7B95B #5BE773
square
#5B89E7 #E75BCF #E7B95B #5BE773
split-complementary
#5B89E7 #E7735B #CFE75B
monochromatic
#194AAE #2663DF #5B89E7 #90AFEF #C6D6F7

Accessibility & contrast

On white

3.40
#5B89E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5B89E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89E7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89E7#FFFFFF#000000##000000
##5B89E71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#4C85E5
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b89e7;
/* rgb */ color: rgb(91, 137, 231);
/* oklch */ color: oklch(64.1% 0.150 263.1);
Tailwind
colors: {
  custom: {
    50: '#95abef',
    500: '#5b89e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b89e7;
$custom-light: #95abef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89e7",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 220.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64146,
    "c": 0.15004,
    "h": 263.1
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#5B89E7
secondary
#E8D7B6
accent
#950FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B89E7

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

Preview Lab → · Contrast checker → · Palette generator →

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