#5985CC#5985CC

#5985CC is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.119 H 259.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5985CC
RGBrgb(89, 133, 204)
HSLhsl(217, 53%, 57%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(56.4%, 34.8%, 0%, 20%)
CIE-LABlab(55.34, 5.90, -41.31)
CIE-LCHlch(55.34, 41.73, 278.13°)
OKLaboklab(61.66% -0.0214 -0.1168)
OKLCHoklch(61.66% 0.119 259.6)
XYZxyz(23.4027, 23.2566, 60.3708)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985CC #CCA059
analogous
#59BFCC #5985CC #6659CC
triadic
#5985CC #CC5985 #85CC59
tetradic
#5985CC #CC59BF #CCA059 #59CC66
square
#5985CC #CC59BF #CCA059 #59CC66
split-complementary
#5985CC #CC6659 #BFCC59
monochromatic
#284B83 #3665B1 #5985CC #88A7DA #B7CAE9

Accessibility & contrast

On white

3.72
#5985CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5985CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985CC#FFFFFF#000000##000000
##5985CC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5985cc;
/* rgb */ color: rgb(89, 133, 204);
/* oklch */ color: oklch(61.7% 0.119 259.6);
Tailwind
colors: {
  custom: {
    50: '#90a8dc',
    500: '#5985cc',
    950: '#000000',
  },
}
SCSS
$custom: #5985cc;
$custom-light: #90a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5985cc",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 217.043,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.11871,
    "h": 259.6
  },
  "luminance": 0.23259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5985CC

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

Preview Lab → · Contrast checker → · Palette generator →

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