#5989DC#5989DC

#5989DC is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.4% C 0.136 H 260.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5989DC
RGBrgb(89, 137, 220)
HSLhsl(218, 65%, 61%)
HSVhsv(218, 60%, 86%)
CMYKcmyk(59.5%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.25, 8.75, -47.29)
CIE-LCHlch(57.25, 48.09, 280.49°)
OKLaboklab(63.41% -0.022 -0.1342)
OKLCHoklch(63.41% 0.136 260.7)
XYZxyz(25.9792, 25.1802, 71.1875)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989DC #DCAC59
analogous
#59CBDC #5989DC #6A59DC
triadic
#5989DC #DC5989 #89DC59
tetradic
#5989DC #DC59CB #DCAC59 #59DC6A
square
#5989DC #DC59CB #DCAC59 #59DC6A
split-complementary
#5989DC #DC6A59 #CBDC59
monochromatic
#204D9A #2B66CD #5989DC #8CADE7 #BED1F1

Accessibility & contrast

On white

3.48
#5989DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5989DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989DC#FFFFFF#000000##000000
##5989DC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#5484DA
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5989dc;
/* rgb */ color: rgb(89, 137, 220);
/* oklch */ color: oklch(63.4% 0.136 260.7);
Tailwind
colors: {
  custom: {
    50: '#92abe7',
    500: '#5989dc',
    950: '#000000',
  },
}
SCSS
$custom: #5989dc;
$custom-light: #92abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5989dc",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 218.015,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.13597,
    "h": 260.7
  },
  "luminance": 0.25182
}

Semantic roles & 50–950 ramp

primary
#5989DC
secondary
#E1CFAF
accent
#8B18CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5989DC

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

Preview Lab → · Contrast checker → · Palette generator →

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