#5982CA#5982CA

#5982CA is a mid, moderate blue. Relative luminance 0.224; OKLCH L 60.9% C 0.119 H 261.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5982CA
RGBrgb(89, 130, 202)
HSLhsl(218, 52%, 57%)
HSVhsv(218, 56%, 79%)
CMYKcmyk(55.9%, 35.6%, 0%, 20.8%)
CIE-LABlab(54.40, 7.05, -41.66)
CIE-LCHlch(54.40, 42.25, 279.60°)
OKLaboklab(60.9% -0.0186 -0.1178)
OKLCHoklch(60.9% 0.119 261)
XYZxyz(22.7595, 22.3516, 58.9806)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982CA #CAA159
analogous
#59BBCA #5982CA #6959CA
triadic
#5982CA #CA5982 #82CA59
tetradic
#5982CA #CA59BB #CAA159 #59CA69
square
#5982CA #CA59BB #CAA159 #59CA69
split-complementary
#5982CA #CA6959 #BBCA59
monochromatic
#294880 #3863AE #5982CA #87A5D9 #B6C8E8

Accessibility & contrast

On white

3.84
#5982CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5982CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982CA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982CA#FFFFFF#000000##000000
##5982CA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#09929C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5982ca;
/* rgb */ color: rgb(89, 130, 202);
/* oklch */ color: oklch(60.9% 0.119 261.0);
Tailwind
colors: {
  custom: {
    50: '#90a6da',
    500: '#5982ca',
    950: '#000000',
  },
}
SCSS
$custom: #5982ca;
$custom-light: #90a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#5982ca",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 218.23,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.11926,
    "h": 261
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#5982CA
secondary
#D6C6A8
accent
#A74DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5982CA

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

Preview Lab → · Contrast checker → · Palette generator →

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