#5B89FF#5B89FF

#5B89FF is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.6% C 0.182 H 265.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5B89FF
RGBrgb(91, 137, 255)
HSLhsl(223, 100%, 68%)
HSVhsv(223, 64%, 100%)
CMYKcmyk(64.3%, 46.3%, 0%, 0%)
CIE-LABlab(59.28, 20.81, -63.45)
CIE-LCHlch(59.28, 66.77, 288.16°)
OKLaboklab(65.63% -0.0139 -0.1816)
OKLCHoklch(65.63% 0.182 265.6)
XYZxyz(31.3038, 27.3325, 98.2144)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89FF #FFD15B
analogous
#5BDBFF #5B89FF #7F5BFF
triadic
#5B89FF #FF5B89 #89FF5B
tetradic
#5B89FF #FF5BDB #FFD15B #5BFF7F
square
#5B89FF #FF5BDB #FFD15B #5BFF7F
split-complementary
#5B89FF #FF7F5B #DBFF5B
monochromatic
#003FE0 #1E5DFF #5B89FF #98B5FF #D5E1FF

Accessibility & contrast

On white

3.25
#5B89FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5B89FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89FF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89FF#FFFFFF#000000##000000
##5B89FF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#2D88FD
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b89ff;
/* rgb */ color: rgb(91, 137, 255);
/* oklch */ color: oklch(65.6% 0.182 265.6);
Tailwind
colors: {
  custom: {
    50: '#98aaff',
    500: '#5b89ff',
    950: '#000000',
  },
}
SCSS
$custom: #5b89ff;
$custom-light: #98aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89ff",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 223.171,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65626,
    "c": 0.18209,
    "h": 265.6
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#5B89FF
secondary
#F4E6C2
accent
#A500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5B89FF

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

Preview Lab → · Contrast checker → · Palette generator →

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