#5981EB#5981EB

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

Color values

HEX#5981EB
RGBrgb(89, 129, 235)
HSLhsl(224, 78%, 64%)
HSVhsv(224, 62%, 92%)
CMYKcmyk(62.1%, 45.1%, 0%, 7.8%)
CIE-LABlab(55.91, 18.58, -57.81)
CIE-LCHlch(55.91, 60.72, 287.82°)
OKLaboklab(62.64% -0.011 -0.1651)
OKLCHoklch(62.64% 0.165 266.2)
XYZxyz(26.9603, 23.8201, 81.7581)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981EB #EBC359
analogous
#59CAEB #5981EB #7A59EB
triadic
#5981EB #EB5981 #81EB59
tetradic
#5981EB #EB59CA #EBC359 #59EB7A
square
#5981EB #EB59CA #EBC359 #59EB7A
split-complementary
#5981EB #EB7A59 #CAEB59
monochromatic
#1641B4 #2258E4 #5981EB #90AAF2 #C6D4F8

Accessibility & contrast

On white

3.64
#5981EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5981EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981EB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981EB#FFFFFF#000000##000000
##5981EB1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5981eb;
/* rgb */ color: rgb(89, 129, 235);
/* oklch */ color: oklch(62.6% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#95a5f2',
    500: '#5981eb',
    950: '#000000',
  },
}
SCSS
$custom: #5981eb;
$custom-light: #95a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5981eb",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 223.562,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.16548,
    "h": 266.2
  },
  "luminance": 0.23823
}

Semantic roles & 50–950 ramp

primary
#5981EB
secondary
#EADCB6
accent
#A20BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5981EB

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

Preview Lab → · Contrast checker → · Palette generator →

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