#5982CD#5982CD

#5982CD is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.1% C 0.123 H 261.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5982CD
RGBrgb(89, 130, 205)
HSLhsl(219, 54%, 58%)
HSVhsv(219, 57%, 80%)
CMYKcmyk(56.6%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.55, 8.02, -43.12)
CIE-LCHlch(54.55, 43.86, 280.54°)
OKLaboklab(61.06% -0.0178 -0.1221)
OKLCHoklch(61.06% 0.123 261.7)
XYZxyz(23.1181, 22.4950, 60.8695)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982CD #CDA459
analogous
#59BCCD #5982CD #6A59CD
triadic
#5982CD #CD5982 #82CD59
tetradic
#5982CD #CD59BC #CDA459 #59CD6A
square
#5982CD #CD59BC #CDA459 #59CD6A
split-complementary
#5982CD #CD6A59 #BCCD59
monochromatic
#284884 #3662B3 #5982CD #88A5DB #B7C9E9

Accessibility & contrast

On white

3.82
#5982CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5982CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982CD#FFFFFF#000000##000000
##5982CD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#547ECB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5982cd;
/* rgb */ color: rgb(89, 130, 205);
/* oklch */ color: oklch(61.1% 0.123 261.7);
Tailwind
colors: {
  custom: {
    50: '#90a6dc',
    500: '#5982cd',
    950: '#000000',
  },
}
SCSS
$custom: #5982cd;
$custom-light: #90a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5982cd",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 218.793,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.12336,
    "h": 261.7
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#5982CD
secondary
#D8C8AA
accent
#A94BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5982CD

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

Preview Lab → · Contrast checker → · Palette generator →

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