#5981ED#5981ED

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

Color values

HEX#5981ED
RGBrgb(89, 129, 237)
HSLhsl(224, 80%, 64%)
HSVhsv(224, 62%, 93%)
CMYKcmyk(62.4%, 45.6%, 0%, 7.1%)
CIE-LABlab(56.02, 19.25, -58.73)
CIE-LCHlch(56.02, 61.81, 288.15°)
OKLaboklab(62.77% -0.0107 -0.1678)
OKLCHoklch(62.77% 0.168 266.4)
XYZxyz(27.2509, 23.9363, 83.2884)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981ED #EDC559
analogous
#59CBED #5981ED #7B59ED
triadic
#5981ED #ED5981 #81ED59
tetradic
#5981ED #ED59CB #EDC559 #59ED7B
square
#5981ED #ED59CB #EDC559 #59ED7B
split-complementary
#5981ED #ED7B59 #CBED59
monochromatic
#1440B8 #2257E7 #5981ED #90ABF3 #C7D5F9

Accessibility & contrast

On white

3.63
#5981ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5981ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981ED
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981ED#FFFFFF#000000##000000
##5981ED1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#3380EB
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5981ed;
/* rgb */ color: rgb(89, 129, 237);
/* oklch */ color: oklch(62.8% 0.168 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5f3',
    500: '#5981ed',
    950: '#000000',
  },
}
SCSS
$custom: #5981ed;
$custom-light: #95a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5981ed",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 223.784,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.16818,
    "h": 266.4
  },
  "luminance": 0.23939
}

Semantic roles & 50–950 ramp

primary
#5981ED
secondary
#EBDDB7
accent
#A309DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5981ED

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

Preview Lab → · Contrast checker → · Palette generator →

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