#5984EB#5984EB

#5984EB is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.3% C 0.162 H 265.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5984EB
RGBrgb(89, 132, 235)
HSLhsl(222, 78%, 64%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(62.1%, 43.8%, 0%, 7.8%)
CIE-LABlab(56.71, 16.76, -56.53)
CIE-LCHlch(56.71, 58.96, 286.51°)
OKLaboklab(63.25% -0.0139 -0.1613)
OKLCHoklch(63.25% 0.162 265.1)
XYZxyz(27.3613, 24.6221, 81.8918)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5984EB #EBC059
analogous
#59CDEB #5984EB #7759EB
triadic
#5984EB #EB5984 #84EB59
tetradic
#5984EB #EB59CD #EBC059 #59EB77
square
#5984EB #EB59CD #EBC059 #59EB77
split-complementary
#5984EB #EB7759 #CDEB59
monochromatic
#1644B4 #225CE4 #5984EB #90ACF2 #C6D5F8

Accessibility & contrast

On white

3.54
#5984EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5984EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5984EB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5984EB#FFFFFF#000000##000000
##5984EB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5984eb;
/* rgb */ color: rgb(89, 132, 235);
/* oklch */ color: oklch(63.3% 0.162 265.1);
Tailwind
colors: {
  custom: {
    50: '#94a7f2',
    500: '#5984eb',
    950: '#000000',
  },
}
SCSS
$custom: #5984eb;
$custom-light: #94a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5984eb",
  "rgb": {
    "r": 89,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 222.329,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.16192,
    "h": 265.1
  },
  "luminance": 0.24625
}

Semantic roles & 50–950 ramp

primary
#5984EB
secondary
#EADBB6
accent
#9D0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5984EB

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

Preview Lab → · Contrast checker → · Palette generator →

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