#5989E5#5989E5

#5989E5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.9% C 0.148 H 262.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5989E5
RGBrgb(89, 137, 229)
HSLhsl(219, 73%, 62%)
HSVhsv(219, 61%, 90%)
CMYKcmyk(61.1%, 40.2%, 0%, 10.2%)
CIE-LABlab(57.72, 11.74, -51.57)
CIE-LCHlch(57.72, 52.89, 282.82°)
OKLaboklab(63.93% -0.02 -0.1467)
OKLCHoklch(63.93% 0.148 262.2)
XYZxyz(27.2034, 25.6699, 77.6347)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989E5 #E5B559
analogous
#59CFE5 #5989E5 #6F59E5
triadic
#5989E5 #E55989 #89E559
tetradic
#5989E5 #E559CF #E5B559 #59E56F
square
#5989E5 #E559CF #E5B559 #59E56F
split-complementary
#5989E5 #E56F59 #CFE559
monochromatic
#1A4BA9 #2463DD #5989E5 #8EAFED #C3D4F6

Accessibility & contrast

On white

3.42
#5989E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5989E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989E5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989E5#FFFFFF#000000##000000
##5989E51.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092E9
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5989e5;
/* rgb */ color: rgb(89, 137, 229);
/* oklch */ color: oklch(63.9% 0.148 262.2);
Tailwind
colors: {
  custom: {
    50: '#93abee',
    500: '#5989e5',
    950: '#000000',
  },
}
SCSS
$custom: #5989e5;
$custom-light: #93abee;
$custom-dark: #000000;
JSON
{
  "hex": "#5989e5",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 219.429,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63929,
    "c": 0.14806,
    "h": 262.2
  },
  "luminance": 0.25672
}

Semantic roles & 50–950 ramp

primary
#5989E5
secondary
#E6D5B3
accent
#9210D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5989E5

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

Preview Lab → · Contrast checker → · Palette generator →

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