#5B89DC#5B89DC

#5B89DC is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.5% C 0.135 H 261.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5B89DC
RGBrgb(91, 137, 220)
HSLhsl(219, 65%, 61%)
HSVhsv(219, 59%, 86%)
CMYKcmyk(58.6%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.35, 9.14, -47.13)
CIE-LCHlch(57.35, 48.01, 280.98°)
OKLaboklab(63.51% -0.0202 -0.1337)
OKLCHoklch(63.51% 0.135 261.4)
XYZxyz(26.1738, 25.2806, 71.1966)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89DC #DCAE5B
analogous
#5BC9DC #5B89DC #6D5BDC
triadic
#5B89DC #DC5B89 #89DC5B
tetradic
#5B89DC #DC5BC9 #DCAE5B #5BDC6D
square
#5B89DC #DC5BC9 #DCAE5B #5BDC6D
split-complementary
#5B89DC #DC6D5B #C9DC5B
monochromatic
#214D9B #2C66CE #5B89DC #8DADE7 #C0D2F2

Accessibility & contrast

On white

3.47
#5B89DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5B89DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89DC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89DC#FFFFFF#000000##000000
##5B89DC1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#5584DA
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b89dc;
/* rgb */ color: rgb(91, 137, 220);
/* oklch */ color: oklch(63.5% 0.135 261.4);
Tailwind
colors: {
  custom: {
    50: '#93abe7',
    500: '#5b89dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b89dc;
$custom-light: #93abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89dc",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 218.605,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63511,
    "c": 0.1352,
    "h": 261.4
  },
  "luminance": 0.25283
}

Semantic roles & 50–950 ramp

primary
#5B89DC
secondary
#E2D0B1
accent
#8D19CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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