#5989CD#5989CD

#5989CD is a light, moderate blue. Relative luminance 0.244; OKLCH L 62.6% C 0.116 H 257.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5989CD
RGBrgb(89, 137, 205)
HSLhsl(215, 54%, 58%)
HSVhsv(215, 57%, 80%)
CMYKcmyk(56.6%, 33.2%, 0%, 19.6%)
CIE-LABlab(56.51, 3.86, -40.03)
CIE-LCHlch(56.51, 40.22, 275.50°)
OKLaboklab(62.59% -0.0257 -0.113)
OKLCHoklch(62.59% 0.116 257.2)
XYZxyz(24.0811, 24.4210, 61.1905)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989CD #CD9D59
analogous
#59C3CD #5989CD #6359CD
triadic
#5989CD #CD5989 #89CD59
tetradic
#5989CD #CD59C3 #CD9D59 #59CD63
square
#5989CD #CD59C3 #CD9D59 #59CD63
split-complementary
#5989CD #CD6359 #C3CD59
monochromatic
#284E84 #366AB3 #5989CD #88AADB #B7CCE9

Accessibility & contrast

On white

3.57
#5989CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5989CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989CD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989CD#FFFFFF#000000##000000
##5989CD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#5E83CC
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5989cd;
/* rgb */ color: rgb(89, 137, 205);
/* oklch */ color: oklch(62.6% 0.116 257.2);
Tailwind
colors: {
  custom: {
    50: '#90abdc',
    500: '#5989cd',
    950: '#000000',
  },
}
SCSS
$custom: #5989cd;
$custom-light: #90abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5989cd",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 215.172,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.11589,
    "h": 257.2
  },
  "luminance": 0.24423
}

Semantic roles & 50–950 ramp

primary
#5989CD
secondary
#D8C5AA
accent
#A14BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5989CD

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

Preview Lab → · Contrast checker → · Palette generator →

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