#5982EF#5982EF

#5982EF is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.170 H 266.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5982EF
RGBrgb(89, 130, 239)
HSLhsl(224, 82%, 64%)
HSVhsv(224, 63%, 94%)
CMYKcmyk(62.8%, 45.6%, 0%, 6.3%)
CIE-LABlab(56.41, 19.32, -59.23)
CIE-LCHlch(56.41, 62.30, 288.06°)
OKLaboklab(63.1% -0.0114 -0.1693)
OKLCHoklch(63.1% 0.17 266.2)
XYZxyz(27.6771, 24.3186, 84.8800)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982EF #EFC659
analogous
#59CDEF #5982EF #7B59EF
triadic
#5982EF #EF5982 #82EF59
tetradic
#5982EF #EF59CD #EFC659 #59EF7B
square
#5982EF #EF59CD #EFC659 #59EF7B
split-complementary
#5982EF #EF7B59 #CDEF59
monochromatic
#1240BC #2158EA #5982EF #91ACF4 #C9D6FA

Accessibility & contrast

On white

3.58
#5982EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5982EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982EF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982EF#FFFFFF#000000##000000
##5982EF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#3281ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5982ef;
/* rgb */ color: rgb(89, 130, 239);
/* oklch */ color: oklch(63.1% 0.170 266.2);
Tailwind
colors: {
  custom: {
    50: '#95a5f5',
    500: '#5982ef',
    950: '#000000',
  },
}
SCSS
$custom: #5982ef;
$custom-light: #95a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5982ef",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 223.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.16967,
    "h": 266.2
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#5982EF
secondary
#ECDEB8
accent
#A407DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5982EF

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

Preview Lab → · Contrast checker → · Palette generator →

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