#5982E5#5982E5

#5982E5 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.156 H 265.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5982E5
RGBrgb(89, 130, 229)
HSLhsl(222, 73%, 62%)
HSVhsv(222, 61%, 90%)
CMYKcmyk(61.1%, 43.2%, 0%, 10.2%)
CIE-LABlab(55.83, 15.96, -54.58)
CIE-LCHlch(55.83, 56.87, 286.30°)
OKLaboklab(62.47% -0.0129 -0.1556)
OKLCHoklch(62.47% 0.156 265.2)
XYZxyz(26.2404, 23.7440, 77.3138)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982E5 #E5BC59
analogous
#59C8E5 #5982E5 #7659E5
triadic
#5982E5 #E55982 #82E559
tetradic
#5982E5 #E559C8 #E5BC59 #59E576
square
#5982E5 #E559C8 #E5BC59 #59E576
split-complementary
#5982E5 #E57659 #C8E559
monochromatic
#1A44A9 #245ADD #5982E5 #8EAAED #C3D2F6

Accessibility & contrast

On white

3.65
#5982E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5982E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982E5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982E5#FFFFFF#000000##000000
##5982E51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548DE9
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5982e5;
/* rgb */ color: rgb(89, 130, 229);
/* oklch */ color: oklch(62.5% 0.156 265.2);
Tailwind
colors: {
  custom: {
    50: '#94a5ee',
    500: '#5982e5',
    950: '#000000',
  },
}
SCSS
$custom: #5982e5;
$custom-light: #94a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5982e5",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 229
  },
  "hsl": {
    "h": 222.429,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.15617,
    "h": 265.2
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#5982E5
secondary
#E6D7B3
accent
#9B10D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5982E5

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

Preview Lab → · Contrast checker → · Palette generator →

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