#5B89F5#5B89F5

#5B89F5 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.169 H 264.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5B89F5
RGBrgb(91, 137, 245)
HSLhsl(222, 89%, 66%)
HSVhsv(222, 63%, 96%)
CMYKcmyk(62.9%, 44.1%, 0%, 3.9%)
CIE-LABlab(58.70, 17.45, -58.87)
CIE-LCHlch(58.70, 61.40, 286.51°)
OKLaboklab(64.99% -0.0154 -0.1681)
OKLCHoklch(64.99% 0.169 264.8)
XYZxyz(29.7358, 26.7053, 89.9561)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89F5 #F5C75B
analogous
#5BD6F5 #5B89F5 #7A5BF5
triadic
#5B89F5 #F55B89 #89F55B
tetradic
#5B89F5 #F55BD6 #F5C75B #5BF57A
square
#5B89F5 #F55BD6 #F5C75B #5BF57A
split-complementary
#5B89F5 #F57A5B #D6F55B
monochromatic
#0C45C9 #215FF1 #5B89F5 #95B3F9 #CEDCFC

Accessibility & contrast

On white

3.31
#5B89F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5B89F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89F5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89F5#FFFFFF#000000##000000
##5B89F51.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#3C87F3
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b89f5;
/* rgb */ color: rgb(91, 137, 245);
/* oklch */ color: oklch(65.0% 0.169 264.8);
Tailwind
colors: {
  custom: {
    50: '#97aaf9',
    500: '#5b89f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b89f5;
$custom-light: #97aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89f5",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 222.078,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64994,
    "c": 0.16881,
    "h": 264.8
  },
  "luminance": 0.26708
}

Semantic roles & 50–950 ramp

primary
#5B89F5
secondary
#EFE0BC
accent
#A100E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B89F5

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

Preview Lab → · Contrast checker → · Palette generator →

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