#5982D5#5982D5

#5982D5 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.134 H 263.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5982D5
RGBrgb(89, 130, 213)
HSLhsl(220, 60%, 59%)
HSVhsv(220, 58%, 84%)
CMYKcmyk(58.2%, 39%, 0%, 16.5%)
CIE-LABlab(54.96, 10.64, -46.99)
CIE-LCHlch(54.96, 48.18, 282.76°)
OKLaboklab(61.52% -0.016 -0.1334)
OKLCHoklch(61.52% 0.134 263.1)
XYZxyz(24.1086, 22.8912, 66.0859)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982D5 #D5AC59
analogous
#59C0D5 #5982D5 #6E59D5
triadic
#5982D5 #D55982 #82D559
tetradic
#5982D5 #D559C0 #D5AC59 #59D56E
square
#5982D5 #D559C0 #D5AC59 #59D56E
split-complementary
#5982D5 #D56E59 #C0D559
monochromatic
#24488F #3160C0 #5982D5 #8AA7E1 #BBCCEE

Accessibility & contrast

On white

3.76
#5982D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5982D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982D5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982D5#FFFFFF#000000##000000
##5982D51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8AD8
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5982d5;
/* rgb */ color: rgb(89, 130, 213);
/* oklch */ color: oklch(61.5% 0.134 263.1);
Tailwind
colors: {
  custom: {
    50: '#91a5e2',
    500: '#5982d5',
    950: '#000000',
  },
}
SCSS
$custom: #5982d5;
$custom-light: #91a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5982d5",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 213
  },
  "hsl": {
    "h": 220.161,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.13433,
    "h": 263.1
  },
  "luminance": 0.22893
}

Semantic roles & 50–950 ramp

primary
#5982D5
secondary
#DDCDAD
accent
#AF45E3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5982D5

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

Preview Lab → · Contrast checker → · Palette generator →

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