#5981F3#5981F3

#5981F3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.176 H 266.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5981F3
RGBrgb(89, 129, 243)
HSLhsl(224, 87%, 65%)
HSVhsv(224, 63%, 95%)
CMYKcmyk(63.4%, 46.9%, 0%, 4.7%)
CIE-LABlab(56.38, 21.27, -61.49)
CIE-LCHlch(56.38, 65.07, 289.08°)
OKLaboklab(63.15% -0.0098 -0.1759)
OKLCHoklch(63.15% 0.176 266.8)
XYZxyz(28.1422, 24.2929, 87.9826)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981F3 #F3CB59
analogous
#59CEF3 #5981F3 #7E59F3
triadic
#5981F3 #F35981 #81F359
tetradic
#5981F3 #F359CE #F3CB59 #59F37E
square
#5981F3 #F359CE #F3CB59 #59F37E
split-complementary
#5981F3 #F37E59 #CEF359
monochromatic
#0E3DC3 #2056EF #5981F3 #92ACF7 #CBD8FB

Accessibility & contrast

On white

3.58
#5981F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5981F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981F3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981F3#FFFFFF#000000##000000
##5981F31.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF7
Deuteranopia (green-blind)
#2881F1
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5981f3;
/* rgb */ color: rgb(89, 129, 243);
/* oklch */ color: oklch(63.2% 0.176 266.8);
Tailwind
colors: {
  custom: {
    50: '#96a5f8',
    500: '#5981f3',
    950: '#000000',
  },
}
SCSS
$custom: #5981f3;
$custom-light: #96a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5981f3",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 224.416,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.17623,
    "h": 266.8
  },
  "luminance": 0.24295
}

Semantic roles & 50–950 ramp

primary
#5981F3
secondary
#EEE0BA
accent
#A902E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5981F3

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

Preview Lab → · Contrast checker → · Palette generator →

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