#5981E8#5981E8

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

Color values

HEX#5981E8
RGBrgb(89, 129, 232)
HSLhsl(223, 76%, 63%)
HSVhsv(223, 62%, 91%)
CMYKcmyk(61.6%, 44.4%, 0%, 9%)
CIE-LABlab(55.73, 17.57, -56.41)
CIE-LCHlch(55.73, 59.08, 287.30°)
OKLaboklab(62.45% -0.0114 -0.161)
OKLCHoklch(62.45% 0.161 265.9)
XYZxyz(26.5306, 23.6482, 79.4947)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981E8 #E8C059
analogous
#59C8E8 #5981E8 #7959E8
triadic
#5981E8 #E85981 #81E859
tetradic
#5981E8 #E859C8 #E8C059 #59E879
square
#5981E8 #E859C8 #E8C059 #59E879
split-complementary
#5981E8 #E87959 #C8E859
monochromatic
#1842AE #2358E1 #5981E8 #8FAAEF #C5D3F7

Accessibility & contrast

On white

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

On black

5.73
#5981E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981E8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981E8#FFFFFF#000000##000000
##5981E81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#3A7FE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5981e8;
/* rgb */ color: rgb(89, 129, 232);
/* oklch */ color: oklch(62.5% 0.161 265.9);
Tailwind
colors: {
  custom: {
    50: '#94a5f0',
    500: '#5981e8',
    950: '#000000',
  },
}
SCSS
$custom: #5981e8;
$custom-light: #94a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5981e8",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 223.217,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.16143,
    "h": 265.9
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#5981E8
secondary
#E8DAB5
accent
#9F0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5981E8

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

Preview Lab → · Contrast checker → · Palette generator →

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