#5989E9#5989E9

#5989E9 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.2% C 0.153 H 262.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5989E9
RGBrgb(89, 137, 233)
HSLhsl(220, 77%, 63%)
HSVhsv(220, 62%, 91%)
CMYKcmyk(61.8%, 41.2%, 0%, 8.6%)
CIE-LABlab(57.94, 13.07, -53.45)
CIE-LCHlch(57.94, 55.02, 283.74°)
OKLaboklab(64.17% -0.0192 -0.1522)
OKLCHoklch(64.17% 0.153 262.8)
XYZxyz(27.7683, 25.8959, 80.6100)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989E9 #E9B959
analogous
#59D1E9 #5989E9 #7159E9
triadic
#5989E9 #E95989 #89E959
tetradic
#5989E9 #E959D1 #E9B959 #59E971
square
#5989E9 #E959D1 #E9B959 #59E971
split-complementary
#5989E9 #E97159 #D1E959
monochromatic
#174AB0 #2363E2 #5989E9 #8FAFF0 #C5D6F7

Accessibility & contrast

On white

3.40
#5989E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5989E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989E9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989E9#FFFFFF#000000##000000
##5989E91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92ED
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5989e9;
/* rgb */ color: rgb(89, 137, 233);
/* oklch */ color: oklch(64.2% 0.153 262.8);
Tailwind
colors: {
  custom: {
    50: '#94aaf0',
    500: '#5989e9',
    950: '#000000',
  },
}
SCSS
$custom: #5989e9;
$custom-light: #94aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5989e9",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 233
  },
  "hsl": {
    "h": 220,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64165,
    "c": 0.15343,
    "h": 262.8
  },
  "luminance": 0.25898
}

Semantic roles & 50–950 ramp

primary
#5989E9
secondary
#E9D7B5
accent
#950DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989E9

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

Preview Lab → · Contrast checker → · Palette generator →

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