#5984EE#5984EE

#5984EE is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.4% C 0.166 H 265.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5984EE
RGBrgb(89, 132, 238)
HSLhsl(223, 81%, 64%)
HSVhsv(223, 63%, 93%)
CMYKcmyk(62.6%, 44.5%, 0%, 6.7%)
CIE-LABlab(56.88, 17.77, -57.92)
CIE-LCHlch(56.88, 60.58, 287.05°)
OKLaboklab(63.44% -0.0134 -0.1654)
OKLCHoklch(63.44% 0.166 265.4)
XYZxyz(27.7984, 24.7969, 84.1937)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984EE #EEC359
analogous
#59CEEE #5984EE #7959EE
triadic
#5984EE #EE5984 #84EE59
tetradic
#5984EE #EE59CE #EEC359 #59EE79
square
#5984EE #EE59CE #EEC359 #59EE79
split-complementary
#5984EE #EE7959 #CEEE59
monochromatic
#1343BA #215BE8 #5984EE #91ADF4 #C8D6F9

Accessibility & contrast

On white

3.52
#5984EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5984EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984EE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984EE#FFFFFF#000000##000000
##5984EE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5984ee;
/* rgb */ color: rgb(89, 132, 238);
/* oklch */ color: oklch(63.4% 0.166 265.4);
Tailwind
colors: {
  custom: {
    50: '#95a7f4',
    500: '#5984ee',
    950: '#000000',
  },
}
SCSS
$custom: #5984ee;
$custom-light: #95a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5984ee",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 222.685,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63439,
    "c": 0.16596,
    "h": 265.4
  },
  "luminance": 0.24799
}

Semantic roles & 50–950 ramp

primary
#5984EE
secondary
#EBDCB7
accent
#A008DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5984EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5984EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva