#5982CC#5982CC

#5982CC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.122 H 261.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5982CC
RGBrgb(89, 130, 204)
HSLhsl(219, 53%, 57%)
HSVhsv(219, 56%, 80%)
CMYKcmyk(56.4%, 36.3%, 0%, 20%)
CIE-LABlab(54.50, 7.70, -42.63)
CIE-LCHlch(54.50, 43.32, 280.23°)
OKLaboklab(61.01% -0.0181 -0.1206)
OKLCHoklch(61.01% 0.122 261.5)
XYZxyz(22.9978, 22.4469, 60.2358)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982CC #CCA359
analogous
#59BBCC #5982CC #6A59CC
triadic
#5982CC #CC5982 #82CC59
tetradic
#5982CC #CC59BB #CCA359 #59CC6A
square
#5982CC #CC59BB #CCA359 #59CC6A
split-complementary
#5982CC #CC6A59 #BBCC59
monochromatic
#284883 #3662B1 #5982CC #88A5DA #B7C9E9

Accessibility & contrast

On white

3.83
#5982CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5982CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982CC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982CC#FFFFFF#000000##000000
##5982CC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CF
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#01929D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5982cc;
/* rgb */ color: rgb(89, 130, 204);
/* oklch */ color: oklch(61.0% 0.122 261.5);
Tailwind
colors: {
  custom: {
    50: '#90a6dc',
    500: '#5982cc',
    950: '#000000',
  },
}
SCSS
$custom: #5982cc;
$custom-light: #90a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5982cc",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 218.609,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61008,
    "c": 0.12199,
    "h": 261.5
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#5982CC
secondary
#D8C7A9
accent
#A94BDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5982CC

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

Preview Lab → · Contrast checker → · Palette generator →

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