#5989ED#5989ED

#5989ED is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.4% C 0.159 H 263.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5989ED
RGBrgb(89, 137, 237)
HSLhsl(221, 80%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62.4%, 42.2%, 0%, 7.1%)
CIE-LABlab(58.16, 14.41, -55.32)
CIE-LCHlch(58.16, 57.17, 284.60°)
OKLaboklab(64.41% -0.0185 -0.1577)
OKLCHoklch(64.41% 0.159 263.3)
XYZxyz(28.3462, 26.1270, 83.6535)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989ED #EDBD59
analogous
#59D3ED #5989ED #7359ED
triadic
#5989ED #ED5989 #89ED59
tetradic
#5989ED #ED59D3 #EDBD59 #59ED73
square
#5989ED #ED59D3 #EDBD59 #59ED73
split-complementary
#5989ED #ED7359 #D3ED59
monochromatic
#1449B8 #2262E7 #5989ED #90B0F3 #C7D7F9

Accessibility & contrast

On white

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

On black

6.23
#5989ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989ED
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989ED#FFFFFF#000000##000000
##5989ED1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#4585EB
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5989ed;
/* rgb */ color: rgb(89, 137, 237);
/* oklch */ color: oklch(64.4% 0.159 263.3);
Tailwind
colors: {
  custom: {
    50: '#95aaf3',
    500: '#5989ed',
    950: '#000000',
  },
}
SCSS
$custom: #5989ed;
$custom-light: #95aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ed",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 220.541,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64406,
    "c": 0.15879,
    "h": 263.3
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#5989ED
secondary
#EBDAB7
accent
#9809DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989ED

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

Preview Lab → · Contrast checker → · Palette generator →

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