#5B89F1#5B89F1

#5B89F1 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.163 H 264.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B89F1
RGBrgb(91, 137, 241)
HSLhsl(222, 84%, 65%)
HSVhsv(222, 62%, 95%)
CMYKcmyk(62.2%, 43.2%, 0%, 5.5%)
CIE-LABlab(58.47, 16.10, -57.02)
CIE-LCHlch(58.47, 59.25, 285.77°)
OKLaboklab(64.75% -0.0161 -0.1627)
OKLCHoklch(64.75% 0.163 264.4)
XYZxyz(29.1317, 26.4637, 86.7748)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B89F1 #F1C35B
analogous
#5BD4F1 #5B89F1 #785BF1
triadic
#5B89F1 #F15B89 #89F15B
tetradic
#5B89F1 #F15BD4 #F1C35B #5BF178
square
#5B89F1 #F15BD4 #F1C35B #5BF178
split-complementary
#5B89F1 #F1785B #D4F15B
monochromatic
#1047C1 #2360EC #5B89F1 #93B2F6 #CCDAFB

Accessibility & contrast

On white

3.34
#5B89F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5B89F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B89F1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B89F1#FFFFFF#000000##000000
##5B89F11.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F5
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b89f1;
/* rgb */ color: rgb(91, 137, 241);
/* oklch */ color: oklch(64.7% 0.163 264.4);
Tailwind
colors: {
  custom: {
    50: '#96aaf6',
    500: '#5b89f1',
    950: '#000000',
  },
}
SCSS
$custom: #5b89f1;
$custom-light: #96aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b89f1",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 241
  },
  "hsl": {
    "h": 221.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64748,
    "c": 0.16347,
    "h": 264.4
  },
  "luminance": 0.26466
}

Semantic roles & 50–950 ramp

primary
#5B89F1
secondary
#EDDEBA
accent
#9D05E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B89F1

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

Preview Lab → · Contrast checker → · Palette generator →

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