#5981E9#5981E9

#5981E9 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.163 H 266.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5981E9
RGBrgb(89, 129, 233)
HSLhsl(223, 77%, 63%)
HSVhsv(223, 62%, 91%)
CMYKcmyk(61.8%, 44.6%, 0%, 8.6%)
CIE-LABlab(55.79, 17.91, -56.88)
CIE-LCHlch(55.79, 59.63, 287.48°)
OKLaboklab(62.51% -0.0113 -0.1624)
OKLCHoklch(62.51% 0.163 266)
XYZxyz(26.6730, 23.7052, 80.2449)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981E9 #E9C159
analogous
#59C9E9 #5981E9 #7959E9
triadic
#5981E9 #E95981 #81E959
tetradic
#5981E9 #E959C9 #E9C159 #59E979
square
#5981E9 #E959C9 #E9C159 #59E979
split-complementary
#5981E9 #E97959 #C9E959
monochromatic
#1742B0 #2358E2 #5981E9 #8FAAF0 #C5D3F7

Accessibility & contrast

On white

3.66
#5981E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5981E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981E9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981E9#FFFFFF#000000##000000
##5981E91.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DED
Deuteranopia (green-blind)
#3880E7
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5981e9;
/* rgb */ color: rgb(89, 129, 233);
/* oklch */ color: oklch(62.5% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#94a5f0',
    500: '#5981e9',
    950: '#000000',
  },
}
SCSS
$custom: #5981e9;
$custom-light: #94a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5981e9",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 223.333,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.16277,
    "h": 266
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#5981E9
secondary
#E9DAB5
accent
#A00DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5981E9

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

Preview Lab → · Contrast checker → · Palette generator →

#5981E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva