#5989EE#5989EE

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

Color values

HEX#5989EE
RGBrgb(89, 137, 238)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(62.6%, 42.4%, 0%, 6.7%)
CIE-LABlab(58.21, 14.75, -55.79)
CIE-LCHlch(58.21, 57.70, 284.81°)
OKLaboklab(64.47% -0.0183 -0.1591)
OKLCHoklch(64.47% 0.16 263.4)
XYZxyz(28.4927, 26.1856, 84.4251)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989EE #EEBE59
analogous
#59D4EE #5989EE #7459EE
triadic
#5989EE #EE5989 #89EE59
tetradic
#5989EE #EE59D4 #EEBE59 #59EE74
square
#5989EE #EE59D4 #EEBE59 #59EE74
split-complementary
#5989EE #EE7459 #D4EE59
monochromatic
#1349BA #2162E8 #5989EE #91B0F4 #C8D8F9

Accessibility & contrast

On white

3.37
#5989EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5989EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989EE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989EE#FFFFFF#000000##000000
##5989EE1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F2
Deuteranopia (green-blind)
#4486EC
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5989ee;
/* rgb */ color: rgb(89, 137, 238);
/* oklch */ color: oklch(64.5% 0.160 263.4);
Tailwind
colors: {
  custom: {
    50: '#95aaf4',
    500: '#5989ee',
    950: '#000000',
  },
}
SCSS
$custom: #5989ee;
$custom-light: #95aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ee",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 220.671,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.16013,
    "h": 263.4
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#5989EE
secondary
#EBDBB7
accent
#9908DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989EE

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

Preview Lab → · Contrast checker → · Palette generator →

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