#5985CE#5985CE

#5985CE is a mid, vivid blue. Relative luminance 0.234; OKLCH L 61.8% C 0.121 H 260.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5985CE
RGBrgb(89, 133, 206)
HSLhsl(217, 54%, 58%)
HSVhsv(217, 57%, 81%)
CMYKcmyk(56.8%, 35.4%, 0%, 19.2%)
CIE-LABlab(55.43, 6.55, -42.29)
CIE-LCHlch(55.43, 42.79, 278.81°)
OKLaboklab(61.77% -0.0209 -0.1196)
OKLCHoklch(61.77% 0.121 260.1)
XYZxyz(23.6441, 23.3532, 61.6422)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985CE #CEA259
analogous
#59BFCE #5985CE #6759CE
triadic
#5985CE #CE5985 #85CE59
tetradic
#5985CE #CE59BF #CEA259 #59CE67
square
#5985CE #CE59BF #CEA259 #59CE67
split-complementary
#5985CE #CE6759 #BFCE59
monochromatic
#274B85 #3565B5 #5985CE #88A8DC #B8CAEA

Accessibility & contrast

On white

3.70
#5985CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5985CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985CE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985CE#FFFFFF#000000##000000
##5985CE1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#5880CC
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5985ce;
/* rgb */ color: rgb(89, 133, 206);
/* oklch */ color: oklch(61.8% 0.121 260.1);
Tailwind
colors: {
  custom: {
    50: '#90a8dd',
    500: '#5985ce',
    950: '#000000',
  },
}
SCSS
$custom: #5985ce;
$custom-light: #90a8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5985ce",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 217.436,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.12143,
    "h": 260.1
  },
  "luminance": 0.23355
}

Semantic roles & 50–950 ramp

primary
#5985CE
secondary
#D9C7AA
accent
#A64ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5985CE

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

Preview Lab → · Contrast checker → · Palette generator →

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