#5981FE#5981FE

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

Color values

HEX#5981FE
RGBrgb(89, 129, 254)
HSLhsl(225, 99%, 67%)
HSVhsv(225, 65%, 100%)
CMYKcmyk(65%, 49.2%, 0%, 0.4%)
CIE-LABlab(57.05, 24.99, -66.48)
CIE-LCHlch(57.05, 71.03, 290.60°)
OKLaboklab(63.88% -0.0085 -0.1906)
OKLCHoklch(63.88% 0.191 267.4)
XYZxyz(29.8533, 24.9773, 96.9946)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981FE #FED659
analogous
#59D3FE #5981FE #8459FE
triadic
#5981FE #FE5981 #81FE59
tetradic
#5981FE #FE59D3 #FED659 #59FE84
square
#5981FE #FE59D3 #FED659 #59FE84
split-complementary
#5981FE #FE8459 #D3FE59
monochromatic
#0136DB #1C53FE #5981FE #96AFFE #D3DDFF

Accessibility & contrast

On white

3.50
#5981FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5981FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981FE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981FE#FFFFFF#000000##000000
##5981FE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5981fe;
/* rgb */ color: rgb(89, 129, 254);
/* oklch */ color: oklch(63.9% 0.191 267.4);
Tailwind
colors: {
  custom: {
    50: '#98a5ff',
    500: '#5981fe',
    950: '#000000',
  },
}
SCSS
$custom: #5981fe;
$custom-light: #98a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5981fe",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 225.455,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63883,
    "c": 0.19083,
    "h": 267.4
  },
  "luminance": 0.2498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5981FE

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

Preview Lab → · Contrast checker → · Palette generator →

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