#5B89F7#5B89F7

#5B89F7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.1% C 0.171 H 265.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5B89F7
RGBrgb(91, 137, 247)
HSLhsl(222, 91%, 66%)
HSVhsv(222, 63%, 97%)
CMYKcmyk(63.2%, 44.5%, 0%, 3.1%)
CIE-LABlab(58.81, 18.12, -59.79)
CIE-LCHlch(58.81, 62.48, 286.86°)
OKLaboklab(65.12% -0.0151 -0.1708)
OKLCHoklch(65.12% 0.171 265)
XYZxyz(30.0427, 26.8281, 91.5728)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89F7 #F7C95B
analogous
#5BD7F7 #5B89F7 #7B5BF7
triadic
#5B89F7 #F75B89 #89F75B
tetradic
#5B89F7 #F75BD7 #F7C95B #5BF77B
square
#5B89F7 #F75BD7 #F7C95B #5BF77B
split-complementary
#5B89F7 #F77B5B #D7F75B
monochromatic
#0A44CE #215FF4 #5B89F7 #95B3FA #D0DDFD

Accessibility & contrast

On white

3.30
#5B89F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5B89F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89F7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89F7#FFFFFF#000000##000000
##5B89F71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b89f7;
/* rgb */ color: rgb(91, 137, 247);
/* oklch */ color: oklch(65.1% 0.171 265.0);
Tailwind
colors: {
  custom: {
    50: '#97aafa',
    500: '#5b89f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b89f7;
$custom-light: #97aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89f7",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 222.308,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65119,
    "c": 0.17147,
    "h": 265
  },
  "luminance": 0.26831
}

Semantic roles & 50–950 ramp

primary
#5B89F7
secondary
#F0E1BD
accent
#A200E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5B89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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