#5989CE#5989CE

#5989CE is a light, moderate blue. Relative luminance 0.245; OKLCH L 62.6% C 0.117 H 257.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5989CE
RGBrgb(89, 137, 206)
HSLhsl(215, 54%, 58%)
HSVhsv(215, 57%, 81%)
CMYKcmyk(56.8%, 33.5%, 0%, 19.2%)
CIE-LABlab(56.55, 4.18, -40.52)
CIE-LCHlch(56.55, 40.74, 275.89°)
OKLaboklab(62.64% -0.0254 -0.1144)
OKLCHoklch(62.64% 0.117 257.5)
XYZxyz(24.2022, 24.4694, 61.8282)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989CE #CE9E59
analogous
#59C3CE #5989CE #6359CE
triadic
#5989CE #CE5989 #89CE59
tetradic
#5989CE #CE59C3 #CE9E59 #59CE63
square
#5989CE #CE59C3 #CE9E59 #59CE63
split-complementary
#5989CE #CE6359 #C3CE59
monochromatic
#274E85 #3569B5 #5989CE #88ABDC #B8CCEA

Accessibility & contrast

On white

3.56
#5989CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5989CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989CE#FFFFFF#000000##000000
##5989CE1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5989ce;
/* rgb */ color: rgb(89, 137, 206);
/* oklch */ color: oklch(62.6% 0.117 257.5);
Tailwind
colors: {
  custom: {
    50: '#90abdd',
    500: '#5989ce',
    950: '#000000',
  },
}
SCSS
$custom: #5989ce;
$custom-light: #90abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ce",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 206
  },
  "hsl": {
    "h": 215.385,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62641,
    "c": 0.11722,
    "h": 257.5
  },
  "luminance": 0.24471
}

Semantic roles & 50–950 ramp

primary
#5989CE
secondary
#D9C6AA
accent
#A14ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5989CE

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

Preview Lab → · Contrast checker → · Palette generator →

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