#5985CD#5985CD

#5985CD is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.7% C 0.120 H 259.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5985CD
RGBrgb(89, 133, 205)
HSLhsl(217, 54%, 58%)
HSVhsv(217, 57%, 80%)
CMYKcmyk(56.6%, 35.1%, 0%, 19.6%)
CIE-LABlab(55.38, 6.23, -41.80)
CIE-LCHlch(55.38, 42.26, 278.47°)
OKLaboklab(61.71% -0.0212 -0.1182)
OKLCHoklch(61.71% 0.12 259.8)
XYZxyz(23.5230, 23.3048, 61.0044)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985CD #CDA159
analogous
#59BFCD #5985CD #6759CD
triadic
#5985CD #CD5985 #85CD59
tetradic
#5985CD #CD59BF #CDA159 #59CD67
square
#5985CD #CD59BF #CDA159 #59CD67
split-complementary
#5985CD #CD6759 #BFCD59
monochromatic
#284B84 #3665B3 #5985CD #88A8DB #B7CAE9

Accessibility & contrast

On white

3.71
#5985CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5985CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985CD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985CD#FFFFFF#000000##000000
##5985CD1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD0
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5985cd;
/* rgb */ color: rgb(89, 133, 205);
/* oklch */ color: oklch(61.7% 0.120 259.8);
Tailwind
colors: {
  custom: {
    50: '#90a8dc',
    500: '#5985cd',
    950: '#000000',
  },
}
SCSS
$custom: #5985cd;
$custom-light: #90a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5985cd",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 217.241,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.12008,
    "h": 259.8
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5985CD

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

Preview Lab → · Contrast checker → · Palette generator →

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