#5982DB#5982DB

#5982DB is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.9% C 0.143 H 264.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5982DB
RGBrgb(89, 130, 219)
HSLhsl(221, 64%, 60%)
HSVhsv(221, 59%, 86%)
CMYKcmyk(59.4%, 40.6%, 0%, 14.1%)
CIE-LABlab(55.28, 12.63, -49.86)
CIE-LCHlch(55.28, 51.43, 284.21°)
OKLaboklab(61.87% -0.0148 -0.1418)
OKLCHoklch(61.87% 0.143 264)
XYZxyz(24.8842, 23.2015, 70.1711)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982DB #DBB259
analogous
#59C3DB #5982DB #7159DB
triadic
#5982DB #DB5982 #82DB59
tetradic
#5982DB #DB59C3 #DBB259 #59DB71
square
#5982DB #DB59C3 #DBB259 #59DB71
split-complementary
#5982DB #DB7159 #C3DB59
monochromatic
#214799 #2C5ECB #5982DB #8BA8E6 #BECEF1

Accessibility & contrast

On white

3.72
#5982DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5982DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982DB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982DB#FFFFFF#000000##000000
##5982DB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDE
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5982db;
/* rgb */ color: rgb(89, 130, 219);
/* oklch */ color: oklch(61.9% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#92a5e6',
    500: '#5982db',
    950: '#000000',
  },
}
SCSS
$custom: #5982db;
$custom-light: #92a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5982db",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 221.077,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.14255,
    "h": 264
  },
  "luminance": 0.23204
}

Semantic roles & 50–950 ramp

primary
#5982DB
secondary
#E1D1AF
accent
#9419CC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5982DB

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

Preview Lab → · Contrast checker → · Palette generator →

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