#5981EE#5981EE

#5981EE is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.170 H 266.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5981EE
RGBrgb(89, 129, 238)
HSLhsl(224, 81%, 64%)
HSVhsv(224, 63%, 93%)
CMYKcmyk(62.6%, 45.8%, 0%, 6.7%)
CIE-LABlab(56.08, 19.59, -59.19)
CIE-LCHlch(56.08, 62.35, 288.31°)
OKLaboklab(62.83% -0.0105 -0.1692)
OKLCHoklch(62.83% 0.17 266.4)
XYZxyz(27.3974, 23.9949, 84.0600)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981EE #EEC659
analogous
#59CBEE #5981EE #7C59EE
triadic
#5981EE #EE5981 #81EE59
tetradic
#5981EE #EE59CB #EEC659 #59EE7C
square
#5981EE #EE59CB #EEC659 #59EE7C
split-complementary
#5981EE #EE7C59 #CBEE59
monochromatic
#1340BA #2157E8 #5981EE #91ABF4 #C8D5F9

Accessibility & contrast

On white

3.62
#5981EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5981EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981EE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981EE#FFFFFF#000000##000000
##5981EE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#3180EC
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5981ee;
/* rgb */ color: rgb(89, 129, 238);
/* oklch */ color: oklch(62.8% 0.170 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5f4',
    500: '#5981ee',
    950: '#000000',
  },
}
SCSS
$custom: #5981ee;
$custom-light: #95a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5981ee",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 223.893,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62831,
    "c": 0.16952,
    "h": 266.4
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#5981EE
secondary
#EBDDB7
accent
#A408DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5981EE

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

Preview Lab → · Contrast checker → · Palette generator →

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