#5981FF#5981FF

#5981FF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.192 H 267.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5981FF
RGBrgb(89, 129, 255)
HSLhsl(226, 100%, 67%)
HSVhsv(226, 65%, 100%)
CMYKcmyk(65.1%, 49.4%, 0%, 0%)
CIE-LABlab(57.12, 25.33, -66.93)
CIE-LCHlch(57.12, 71.57, 290.73°)
OKLaboklab(63.95% -0.0084 -0.192)
OKLCHoklch(63.95% 0.192 267.5)
XYZxyz(30.0139, 25.0415, 97.8401)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981FF #FFD759
analogous
#59D4FF #5981FF #8459FF
triadic
#5981FF #FF5981 #81FF59
tetradic
#5981FF #FF59D4 #FFD759 #59FF84
square
#5981FF #FF59D4 #FFD759 #59FF84
split-complementary
#5981FF #FF8459 #D4FF59
monochromatic
#0035DE #1C53FF #5981FF #96AFFF #D3DEFF

Accessibility & contrast

On white

3.49
#5981FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5981FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981FF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981FF#FFFFFF#000000##000000
##5981FF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#0082FC
Tritanopia (blue-blind)
#009EB4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5981ff;
/* rgb */ color: rgb(89, 129, 255);
/* oklch */ color: oklch(63.9% 0.192 267.5);
Tailwind
colors: {
  custom: {
    50: '#98a5ff',
    500: '#5981ff',
    950: '#000000',
  },
}
SCSS
$custom: #5981ff;
$custom-light: #98a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5981ff",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 225.542,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6395,
    "c": 0.19214,
    "h": 267.5
  },
  "luminance": 0.25044
}

Semantic roles & 50–950 ramp

primary
#5981FF
secondary
#F4E7C0
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5981FF

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

Preview Lab → · Contrast checker → · Palette generator →

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