#5982E7#5982E7

#5982E7 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.6% C 0.159 H 265.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5982E7
RGBrgb(89, 130, 231)
HSLhsl(223, 75%, 63%)
HSVhsv(223, 61%, 91%)
CMYKcmyk(61.5%, 43.7%, 0%, 9.4%)
CIE-LABlab(55.94, 16.63, -55.52)
CIE-LCHlch(55.94, 57.95, 286.67°)
OKLaboklab(62.59% -0.0126 -0.1584)
OKLCHoklch(62.59% 0.159 265.4)
XYZxyz(26.5213, 23.8563, 78.7929)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982E7 #E7BE59
analogous
#59C9E7 #5982E7 #7759E7
triadic
#5982E7 #E75982 #82E759
tetradic
#5982E7 #E759C9 #E7BE59 #59E777
square
#5982E7 #E759C9 #E7BE59 #59E777
split-complementary
#5982E7 #E77759 #C9E759
monochromatic
#1944AD #245ADF #5982E7 #8EAAEF #C4D3F6

Accessibility & contrast

On white

3.64
#5982E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5982E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982E7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982E7#FFFFFF#000000##000000
##5982E71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEB
Deuteranopia (green-blind)
#3D80E5
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5982e7;
/* rgb */ color: rgb(89, 130, 231);
/* oklch */ color: oklch(62.6% 0.159 265.4);
Tailwind
colors: {
  custom: {
    50: '#94a5ef',
    500: '#5982e7',
    950: '#000000',
  },
}
SCSS
$custom: #5982e7;
$custom-light: #94a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5982e7",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 231
  },
  "hsl": {
    "h": 222.676,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.15888,
    "h": 265.4
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

primary
#5982E7
secondary
#E8D9B4
accent
#9D0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5982E7

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

Preview Lab → · Contrast checker → · Palette generator →

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