#5982EC#5982EC

#5982EC is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.166 H 265.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5982EC
RGBrgb(89, 130, 236)
HSLhsl(223, 79%, 64%)
HSVhsv(223, 62%, 93%)
CMYKcmyk(62.3%, 44.9%, 0%, 7.5%)
CIE-LABlab(56.23, 18.31, -57.84)
CIE-LCHlch(56.23, 60.67, 287.56°)
OKLaboklab(62.91% -0.0118 -0.1652)
OKLCHoklch(62.91% 0.166 265.9)
XYZxyz(27.2376, 24.1428, 82.5653)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982EC #ECC359
analogous
#59CBEC #5982EC #7959EC
triadic
#5982EC #EC5982 #82EC59
tetradic
#5982EC #EC59CB #ECC359 #59EC79
square
#5982EC #EC59CB #ECC359 #59EC79
split-complementary
#5982EC #EC7959 #CBEC59
monochromatic
#1542B6 #2259E6 #5982EC #90ABF2 #C7D5F9

Accessibility & contrast

On white

3.60
#5982EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5982EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982EC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982EC#FFFFFF#000000##000000
##5982EC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#3781EA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5982ec;
/* rgb */ color: rgb(89, 130, 236);
/* oklch */ color: oklch(62.9% 0.166 265.9);
Tailwind
colors: {
  custom: {
    50: '#95a5f3',
    500: '#5982ec',
    950: '#000000',
  },
}
SCSS
$custom: #5982ec;
$custom-light: #95a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5982ec",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 223.265,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.16564,
    "h": 265.9
  },
  "luminance": 0.24145
}

Semantic roles & 50–950 ramp

primary
#5982EC
secondary
#EADCB6
accent
#A10ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5982EC

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

Preview Lab → · Contrast checker → · Palette generator →

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