#5989EC#5989EC

#5989EC is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.3% C 0.157 H 263.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5989EC
RGBrgb(89, 137, 236)
HSLhsl(220, 79%, 64%)
HSVhsv(220, 62%, 93%)
CMYKcmyk(62.3%, 41.9%, 0%, 7.5%)
CIE-LABlab(58.10, 14.08, -54.85)
CIE-LCHlch(58.10, 56.63, 284.39°)
OKLaboklab(64.35% -0.0187 -0.1563)
OKLCHoklch(64.35% 0.157 263.2)
XYZxyz(28.2005, 26.0687, 82.8862)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989EC #ECBC59
analogous
#59D2EC #5989EC #7259EC
triadic
#5989EC #EC5989 #89EC59
tetradic
#5989EC #EC59D2 #ECBC59 #59EC72
square
#5989EC #EC59D2 #ECBC59 #59EC72
split-complementary
#5989EC #EC7259 #D2EC59
monochromatic
#1549B6 #2262E6 #5989EC #90B0F2 #C7D7F9

Accessibility & contrast

On white

3.38
#5989EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5989EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989EC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989EC#FFFFFF#000000##000000
##5989EC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5989ec;
/* rgb */ color: rgb(89, 137, 236);
/* oklch */ color: oklch(64.3% 0.157 263.2);
Tailwind
colors: {
  custom: {
    50: '#94aaf3',
    500: '#5989ec',
    950: '#000000',
  },
}
SCSS
$custom: #5989ec;
$custom-light: #94aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ec",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 220.408,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64345,
    "c": 0.15745,
    "h": 263.2
  },
  "luminance": 0.26071
}

Semantic roles & 50–950 ramp

primary
#5989EC
secondary
#EAD9B6
accent
#970ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989EC

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

Preview Lab → · Contrast checker → · Palette generator →

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