#5B89EC#5B89EC

#5B89EC is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.4% C 0.157 H 263.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5B89EC
RGBrgb(91, 137, 236)
HSLhsl(221, 79%, 64%)
HSVhsv(221, 61%, 93%)
CMYKcmyk(61.4%, 41.9%, 0%, 7.5%)
CIE-LABlab(58.20, 14.43, -54.70)
CIE-LCHlch(58.20, 56.57, 284.78°)
OKLaboklab(64.44% -0.017 -0.1558)
OKLCHoklch(64.44% 0.157 263.8)
XYZxyz(28.3951, 26.1691, 82.8954)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89EC #ECBE5B
analogous
#5BD1EC #5B89EC #765BEC
triadic
#5B89EC #EC5B89 #89EC5B
tetradic
#5B89EC #EC5BD1 #ECBE5B #5BEC76
square
#5B89EC #EC5BD1 #ECBE5B #5BEC76
split-complementary
#5B89EC #EC765B #D1EC5B
monochromatic
#1549B7 #2462E6 #5B89EC #92B0F2 #C9D8F9

Accessibility & contrast

On white

3.37
#5B89EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5B89EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89EC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89EC#FFFFFF#000000##000000
##5B89EC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b89ec;
/* rgb */ color: rgb(91, 137, 236);
/* oklch */ color: oklch(64.4% 0.157 263.8);
Tailwind
colors: {
  custom: {
    50: '#95aaf3',
    500: '#5b89ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b89ec;
$custom-light: #95aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89ec",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 220.966,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64444,
    "c": 0.15676,
    "h": 263.8
  },
  "luminance": 0.26172
}

Semantic roles & 50–950 ramp

primary
#5B89EC
secondary
#EBDBB8
accent
#990ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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