#5982DC#5982DC

#5982DC is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.9% C 0.144 H 264.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5982DC
RGBrgb(89, 130, 220)
HSLhsl(221, 65%, 61%)
HSVhsv(221, 60%, 86%)
CMYKcmyk(59.5%, 40.9%, 0%, 13.7%)
CIE-LABlab(55.33, 12.96, -50.33)
CIE-LCHlch(55.33, 51.98, 284.44°)
OKLaboklab(61.93% -0.0146 -0.1432)
OKLCHoklch(61.93% 0.144 264.2)
XYZxyz(25.0163, 23.2543, 70.8665)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982DC #DCB359
analogous
#59C4DC #5982DC #7159DC
triadic
#5982DC #DC5982 #82DC59
tetradic
#5982DC #DC59C4 #DCB359 #59DC71
square
#5982DC #DC59C4 #DCB359 #59DC71
split-complementary
#5982DC #DC7159 #C4DC59
monochromatic
#20479A #2B5ECD #5982DC #8CA8E7 #BECEF1

Accessibility & contrast

On white

3.72
#5982DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5982DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982DC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982DC#FFFFFF#000000##000000
##5982DC1.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)
#5B8BE0
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5982dc;
/* rgb */ color: rgb(89, 130, 220);
/* oklch */ color: oklch(61.9% 0.144 264.2);
Tailwind
colors: {
  custom: {
    50: '#92a5e7',
    500: '#5982dc',
    950: '#000000',
  },
}
SCSS
$custom: #5982dc;
$custom-light: #92a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5982dc",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 221.221,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.14391,
    "h": 264.2
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#5982DC
secondary
#E1D2AF
accent
#9518CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5982DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5982DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva