#5981EA#5981EA

#5981EA is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.164 H 266.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5981EA
RGBrgb(89, 129, 234)
HSLhsl(223, 78%, 63%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(62%, 44.9%, 0%, 8.2%)
CIE-LABlab(55.85, 18.24, -57.34)
CIE-LCHlch(55.85, 60.17, 287.65°)
OKLaboklab(62.58% -0.0111 -0.1637)
OKLCHoklch(62.58% 0.164 266.1)
XYZxyz(26.8163, 23.7625, 80.9994)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981EA #EAC259
analogous
#59CAEA #5981EA #7959EA
triadic
#5981EA #EA5981 #81EA59
tetradic
#5981EA #EA59CA #EAC259 #59EA79
square
#5981EA #EA59CA #EAC259 #59EA79
split-complementary
#5981EA #EA7959 #CAEA59
monochromatic
#1741B2 #2358E3 #5981EA #8FAAF1 #C6D3F8

Accessibility & contrast

On white

3.65
#5981EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5981EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981EA#FFFFFF#000000##000000
##5981EA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5981ea;
/* rgb */ color: rgb(89, 129, 234);
/* oklch */ color: oklch(62.6% 0.164 266.1);
Tailwind
colors: {
  custom: {
    50: '#94a5f1',
    500: '#5981ea',
    950: '#000000',
  },
}
SCSS
$custom: #5981ea;
$custom-light: #94a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5981ea",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 223.448,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.16413,
    "h": 266.1
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#5981EA
secondary
#E9DBB6
accent
#A10CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5981EA

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

Preview Lab → · Contrast checker → · Palette generator →

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