#5982DD#5982DD

#5982DD is a mid, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.145 H 264.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5982DD
RGBrgb(89, 130, 221)
HSLhsl(221, 66%, 61%)
HSVhsv(221, 60%, 87%)
CMYKcmyk(59.7%, 41.2%, 0%, 13.3%)
CIE-LABlab(55.39, 13.29, -50.81)
CIE-LCHlch(55.39, 52.52, 284.66°)
OKLaboklab(61.99% -0.0144 -0.1446)
OKLCHoklch(61.99% 0.145 264.3)
XYZxyz(25.1491, 23.3074, 71.5661)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982DD #DDB459
analogous
#59C4DD #5982DD #7259DD
triadic
#5982DD #DD5982 #82DD59
tetradic
#5982DD #DD59C4 #DDB459 #59DD72
square
#5982DD #DD59C4 #DDB459 #59DD72
split-complementary
#5982DD #DD7259 #C4DD59
monochromatic
#20469C #2A5DCF #5982DD #8CA8E7 #BFCEF2

Accessibility & contrast

On white

3.71
#5982DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5982DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982DD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982DD#FFFFFF#000000##000000
##5982DD1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5982dd;
/* rgb */ color: rgb(89, 130, 221);
/* oklch */ color: oklch(62.0% 0.145 264.3);
Tailwind
colors: {
  custom: {
    50: '#92a5e8',
    500: '#5982dd',
    950: '#000000',
  },
}
SCSS
$custom: #5982dd;
$custom-light: #92a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5982dd",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 221.364,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.14528,
    "h": 264.3
  },
  "luminance": 0.2331
}

Semantic roles & 50–950 ramp

primary
#5982DD
secondary
#E2D2B0
accent
#9518CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5982DD

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

Preview Lab → · Contrast checker → · Palette generator →

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