#5984CD#5984CD

#5984CD is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.5% C 0.121 H 260.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5984CD
RGBrgb(89, 132, 205)
HSLhsl(218, 54%, 58%)
HSVhsv(218, 57%, 80%)
CMYKcmyk(56.6%, 35.6%, 0%, 19.6%)
CIE-LABlab(55.11, 6.82, -42.24)
CIE-LCHlch(55.11, 42.79, 279.18°)
OKLaboklab(61.5% -0.0201 -0.1195)
OKLCHoklch(61.5% 0.121 260.5)
XYZxyz(23.3867, 23.0323, 60.9590)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984CD #CDA259
analogous
#59BECD #5984CD #6859CD
triadic
#5984CD #CD5984 #84CD59
tetradic
#5984CD #CD59BE #CDA259 #59CD68
square
#5984CD #CD59BE #CDA259 #59CD68
split-complementary
#5984CD #CD6859 #BECD59
monochromatic
#284A84 #3664B3 #5984CD #88A7DB #B7CAE9

Accessibility & contrast

On white

3.75
#5984CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5984CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984CD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984CD#FFFFFF#000000##000000
##5984CD1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5984cd;
/* rgb */ color: rgb(89, 132, 205);
/* oklch */ color: oklch(61.5% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#90a7dc',
    500: '#5984cd',
    950: '#000000',
  },
}
SCSS
$custom: #5984cd;
$custom-light: #90a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5984cd",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 217.759,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61496,
    "c": 0.12116,
    "h": 260.5
  },
  "luminance": 0.23034
}

Semantic roles & 50–950 ramp

primary
#5984CD
secondary
#D8C7AA
accent
#A74BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5984CD

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

Preview Lab → · Contrast checker → · Palette generator →

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