#5989EF#5989EF

#5989EF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.5% C 0.161 H 263.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5989EF
RGBrgb(89, 137, 239)
HSLhsl(221, 82%, 64%)
HSVhsv(221, 63%, 94%)
CMYKcmyk(62.8%, 42.7%, 0%, 6.3%)
CIE-LABlab(58.27, 15.09, -56.25)
CIE-LCHlch(58.27, 58.24, 285.01°)
OKLaboklab(64.53% -0.0181 -0.1604)
OKLCHoklch(64.53% 0.161 263.5)
XYZxyz(28.6400, 26.2445, 85.2010)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989EF #EFBF59
analogous
#59D4EF #5989EF #7459EF
triadic
#5989EF #EF5989 #89EF59
tetradic
#5989EF #EF59D4 #EFBF59 #59EF74
square
#5989EF #EF59D4 #EFBF59 #59EF74
split-complementary
#5989EF #EF7459 #D4EF59
monochromatic
#1248BC #2161EA #5989EF #91B1F4 #C9D8FA

Accessibility & contrast

On white

3.36
#5989EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5989EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989EF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989EF#FFFFFF#000000##000000
##5989EF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5989ef;
/* rgb */ color: rgb(89, 137, 239);
/* oklch */ color: oklch(64.5% 0.161 263.5);
Tailwind
colors: {
  custom: {
    50: '#95aaf5',
    500: '#5989ef',
    950: '#000000',
  },
}
SCSS
$custom: #5989ef;
$custom-light: #95aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ef",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 220.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.16146,
    "h": 263.5
  },
  "luminance": 0.26247
}

Semantic roles & 50–950 ramp

primary
#5989EF
secondary
#ECDBB8
accent
#9A07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5989EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva