#5989EA#5989EA

#5989EA is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.2% C 0.155 H 262.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5989EA
RGBrgb(89, 137, 234)
HSLhsl(220, 78%, 63%)
HSVhsv(220, 62%, 92%)
CMYKcmyk(62%, 41.5%, 0%, 8.2%)
CIE-LABlab(57.99, 13.41, -53.92)
CIE-LCHlch(57.99, 55.56, 283.97°)
OKLaboklab(64.22% -0.0191 -0.1536)
OKLCHoklch(64.22% 0.155 262.9)
XYZxyz(27.9116, 25.9532, 81.3645)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989EA #EABA59
analogous
#59D1EA #5989EA #7159EA
triadic
#5989EA #EA5989 #89EA59
tetradic
#5989EA #EA59D1 #EABA59 #59EA71
square
#5989EA #EA59D1 #EABA59 #59EA71
split-complementary
#5989EA #EA7159 #D1EA59
monochromatic
#174AB2 #2362E3 #5989EA #8FB0F1 #C6D6F8

Accessibility & contrast

On white

3.39
#5989EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5989EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989EA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989EA#FFFFFF#000000##000000
##5989EA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5989ea;
/* rgb */ color: rgb(89, 137, 234);
/* oklch */ color: oklch(64.2% 0.155 262.9);
Tailwind
colors: {
  custom: {
    50: '#94aaf1',
    500: '#5989ea',
    950: '#000000',
  },
}
SCSS
$custom: #5989ea;
$custom-light: #94aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ea",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 220.138,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.15478,
    "h": 262.9
  },
  "luminance": 0.25956
}

Semantic roles & 50–950 ramp

primary
#5989EA
secondary
#E9D8B6
accent
#960CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989EA

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

Preview Lab → · Contrast checker → · Palette generator →

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