#5981E7#5981E7

#5981E7 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.4% C 0.160 H 265.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5981E7
RGBrgb(89, 129, 231)
HSLhsl(223, 75%, 63%)
HSVhsv(223, 61%, 91%)
CMYKcmyk(61.5%, 44.2%, 0%, 9.4%)
CIE-LABlab(55.68, 17.23, -55.94)
CIE-LCHlch(55.68, 58.54, 287.12°)
OKLaboklab(62.39% -0.0116 -0.1596)
OKLCHoklch(62.39% 0.16 265.8)
XYZxyz(26.3889, 23.5916, 78.7488)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981E7 #E7BF59
analogous
#59C8E7 #5981E7 #7859E7
triadic
#5981E7 #E75981 #81E759
tetradic
#5981E7 #E759C8 #E7BF59 #59E778
square
#5981E7 #E759C8 #E7BF59 #59E778
split-complementary
#5981E7 #E77859 #C8E759
monochromatic
#1943AD #2458DF #5981E7 #8EAAEF #C4D2F6

Accessibility & contrast

On white

3.67
#5981E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5981E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981E7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981E7#FFFFFF#000000##000000
##5981E71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5981e7;
/* rgb */ color: rgb(89, 129, 231);
/* oklch */ color: oklch(62.4% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#94a5ef',
    500: '#5981e7',
    950: '#000000',
  },
}
SCSS
$custom: #5981e7;
$custom-light: #94a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5981e7",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 223.099,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.16007,
    "h": 265.8
  },
  "luminance": 0.23594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5981E7

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

Preview Lab → · Contrast checker → · Palette generator →

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