#5986CA#5986CA

#5986CA is a mid, moderate blue. Relative luminance 0.234; OKLCH L 61.8% C 0.115 H 258.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5986CA
RGBrgb(89, 134, 202)
HSLhsl(216, 52%, 57%)
HSVhsv(216, 56%, 79%)
CMYKcmyk(55.9%, 33.7%, 0%, 20.8%)
CIE-LABlab(55.52, 4.66, -39.89)
CIE-LCHlch(55.52, 40.16, 276.67°)
OKLaboklab(61.77% -0.0231 -0.1126)
OKLCHoklch(61.77% 0.115 258.4)
XYZxyz(23.3019, 23.4364, 59.1614)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986CA #CA9D59
analogous
#59BFCA #5986CA #6559CA
triadic
#5986CA #CA5986 #86CA59
tetradic
#5986CA #CA59BF #CA9D59 #59CA65
square
#5986CA #CA59BF #CA9D59 #59CA65
split-complementary
#5986CA #CA6559 #BFCA59
monochromatic
#294B80 #3867AE #5986CA #87A8D9 #B6CAE8

Accessibility & contrast

On white

3.69
#5986CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5986CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986CA#FFFFFF#000000##000000
##5986CA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#05959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5986ca;
/* rgb */ color: rgb(89, 134, 202);
/* oklch */ color: oklch(61.8% 0.115 258.4);
Tailwind
colors: {
  custom: {
    50: '#90a8da',
    500: '#5986ca',
    950: '#000000',
  },
}
SCSS
$custom: #5986ca;
$custom-light: #90a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5986ca",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 216.106,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.11496,
    "h": 258.4
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#5986CA
secondary
#D6C4A8
accent
#A24DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5986CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5986CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva