#5B89EF#5B89EF

#5B89EF is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.161 H 264.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5B89EF
RGBrgb(91, 137, 239)
HSLhsl(221, 82%, 65%)
HSVhsv(221, 62%, 94%)
CMYKcmyk(61.9%, 42.7%, 0%, 6.3%)
CIE-LABlab(58.36, 15.44, -56.09)
CIE-LCHlch(58.36, 58.18, 285.39°)
OKLaboklab(64.63% -0.0164 -0.1599)
OKLCHoklch(64.63% 0.161 264.1)
XYZxyz(28.8346, 26.3449, 85.2101)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89EF #EFC15B
analogous
#5BD3EF #5B89EF #775BEF
triadic
#5B89EF #EF5B89 #89EF5B
tetradic
#5B89EF #EF5BD3 #EFC15B #5BEF77
square
#5B89EF #EF5BD3 #EFC15B #5BEF77
split-complementary
#5B89EF #EF775B #D3EF5B
monochromatic
#1248BD #2361EA #5B89EF #93B1F4 #CBD9FA

Accessibility & contrast

On white

3.35
#5B89EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5B89EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89EF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89EF#FFFFFF#000000##000000
##5B89EF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#4386ED
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b89ef;
/* rgb */ color: rgb(91, 137, 239);
/* oklch */ color: oklch(64.6% 0.161 264.1);
Tailwind
colors: {
  custom: {
    50: '#96aaf5',
    500: '#5b89ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b89ef;
$custom-light: #96aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89ef",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 221.351,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.16079,
    "h": 264.1
  },
  "luminance": 0.26347
}

Semantic roles & 50–950 ramp

primary
#5B89EF
secondary
#ECDDBA
accent
#9C07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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