#5984EA#5984EA

#5984EA is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.2% C 0.161 H 265.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5984EA
RGBrgb(89, 132, 234)
HSLhsl(222, 78%, 63%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(62%, 43.6%, 0%, 8.2%)
CIE-LABlab(56.65, 16.42, -56.06)
CIE-LCHlch(56.65, 58.42, 286.33°)
OKLaboklab(63.19% -0.0141 -0.16)
OKLCHoklch(63.19% 0.161 265)
XYZxyz(27.2172, 24.5645, 81.1330)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984EA #EABF59
analogous
#59CCEA #5984EA #7659EA
triadic
#5984EA #EA5984 #84EA59
tetradic
#5984EA #EA59CC #EABF59 #59EA76
square
#5984EA #EA59CC #EABF59 #59EA76
split-complementary
#5984EA #EA7659 #CCEA59
monochromatic
#1745B2 #235CE3 #5984EA #8FACF1 #C6D5F8

Accessibility & contrast

On white

3.55
#5984EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5984EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984EA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984EA#FFFFFF#000000##000000
##5984EA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5984ea;
/* rgb */ color: rgb(89, 132, 234);
/* oklch */ color: oklch(63.2% 0.161 265.0);
Tailwind
colors: {
  custom: {
    50: '#94a7f1',
    500: '#5984ea',
    950: '#000000',
  },
}
SCSS
$custom: #5984ea;
$custom-light: #94a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5984ea",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 222.207,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.16058,
    "h": 265
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#5984EA
secondary
#E9DAB6
accent
#9D0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5984EA

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

Preview Lab → · Contrast checker → · Palette generator →

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