#5981FA#5981FA

#5981FA is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.186 H 267.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5981FA
RGBrgb(89, 129, 250)
HSLhsl(225, 94%, 66%)
HSVhsv(225, 64%, 98%)
CMYKcmyk(64.4%, 48.4%, 0%, 2%)
CIE-LABlab(56.81, 23.64, -64.68)
CIE-LCHlch(56.81, 68.86, 290.08°)
OKLaboklab(63.62% -0.009 -0.1853)
OKLCHoklch(63.62% 0.186 267.2)
XYZxyz(29.2195, 24.7238, 93.6563)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981FA #FAD259
analogous
#59D2FA #5981FA #8259FA
triadic
#5981FA #FA5981 #81FA59
tetradic
#5981FA #FA59D2 #FAD259 #59FA82
square
#5981FA #FA59D2 #FAD259 #59FA82
split-complementary
#5981FA #FA8259 #D2FA59
monochromatic
#0639D2 #1E54F8 #5981FA #94AEFC #D0DBFE

Accessibility & contrast

On white

3.53
#5981FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5981FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981FA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981FA#FFFFFF#000000##000000
##5981FA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#1581F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5981fa;
/* rgb */ color: rgb(89, 129, 250);
/* oklch */ color: oklch(63.6% 0.186 267.2);
Tailwind
colors: {
  custom: {
    50: '#97a5fd',
    500: '#5981fa',
    950: '#000000',
  },
}
SCSS
$custom: #5981fa;
$custom-light: #97a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5981fa",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 225.093,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.18555,
    "h": 267.2
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#5981FA
secondary
#F1E5BD
accent
#AC00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5981FA

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

Preview Lab → · Contrast checker → · Palette generator →

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