#5984CC#5984CC

#5984CC is a mid, moderate blue. Relative luminance 0.230; OKLCH L 61.4% C 0.120 H 260.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5984CC
RGBrgb(89, 132, 204)
HSLhsl(218, 53%, 57%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(56.4%, 35.3%, 0%, 20%)
CIE-LABlab(55.06, 6.50, -41.75)
CIE-LCHlch(55.06, 42.26, 278.85°)
OKLaboklab(61.44% -0.0203 -0.1181)
OKLCHoklch(61.44% 0.12 260.2)
XYZxyz(23.2664, 22.9841, 60.3253)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984CC #CCA159
analogous
#59BECC #5984CC #6759CC
triadic
#5984CC #CC5984 #84CC59
tetradic
#5984CC #CC59BE #CCA159 #59CC67
square
#5984CC #CC59BE #CCA159 #59CC67
split-complementary
#5984CC #CC6759 #BECC59
monochromatic
#284A83 #3664B1 #5984CC #88A7DA #B7C9E9

Accessibility & contrast

On white

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

On black

5.60
#5984CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984CC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984CC#FFFFFF#000000##000000
##5984CC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACF
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5984cc;
/* rgb */ color: rgb(89, 132, 204);
/* oklch */ color: oklch(61.4% 0.120 260.2);
Tailwind
colors: {
  custom: {
    50: '#90a7dc',
    500: '#5984cc',
    950: '#000000',
  },
}
SCSS
$custom: #5984cc;
$custom-light: #90a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5984cc",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 204
  },
  "hsl": {
    "h": 217.565,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.1198,
    "h": 260.2
  },
  "luminance": 0.22986
}

Semantic roles & 50–950 ramp

primary
#5984CC
secondary
#D8C6A9
accent
#A64BDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5984CC

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

Preview Lab → · Contrast checker → · Palette generator →

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