#5982EA#5982EA

#5982EA is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.163 H 265.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5982EA
RGBrgb(89, 130, 234)
HSLhsl(223, 78%, 63%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(62%, 44.4%, 0%, 8.2%)
CIE-LABlab(56.12, 17.63, -56.92)
CIE-LCHlch(56.12, 59.59, 287.21°)
OKLaboklab(62.78% -0.0121 -0.1625)
OKLCHoklch(62.78% 0.163 265.7)
XYZxyz(26.9486, 24.0272, 81.0435)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982EA #EAC159
analogous
#59CBEA #5982EA #7859EA
triadic
#5982EA #EA5982 #82EA59
tetradic
#5982EA #EA59CB #EAC159 #59EA78
square
#5982EA #EA59CB #EAC159 #59EA78
split-complementary
#5982EA #EA7859 #CBEA59
monochromatic
#1743B2 #2359E3 #5982EA #8FABF1 #C6D4F8

Accessibility & contrast

On white

3.62
#5982EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5982EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982EA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982EA#FFFFFF#000000##000000
##5982EA1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5982ea;
/* rgb */ color: rgb(89, 130, 234);
/* oklch */ color: oklch(62.8% 0.163 265.7);
Tailwind
colors: {
  custom: {
    50: '#94a5f1',
    500: '#5982ea',
    950: '#000000',
  },
}
SCSS
$custom: #5982ea;
$custom-light: #94a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5982ea",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 223.034,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.16294,
    "h": 265.7
  },
  "luminance": 0.2403
}

Semantic roles & 50–950 ramp

primary
#5982EA
secondary
#E9DBB6
accent
#A00CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5982EA

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

Preview Lab → · Contrast checker → · Palette generator →

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