#5B84DC#5B84DC

#5B84DC is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.5% C 0.141 H 263.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5B84DC
RGBrgb(91, 132, 220)
HSLhsl(221, 65%, 61%)
HSVhsv(221, 59%, 86%)
CMYKcmyk(58.6%, 40%, 0%, 13.7%)
CIE-LABlab(55.98, 12.14, -49.30)
CIE-LCHlch(55.98, 50.77, 283.83°)
OKLaboklab(62.45% -0.0149 -0.1401)
OKLCHoklch(62.45% 0.141 263.9)
XYZxyz(25.4795, 23.8919, 70.9651)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84DC #DCB35B
analogous
#5BC4DC #5B84DC #725BDC
triadic
#5B84DC #DC5B84 #84DC5B
tetradic
#5B84DC #DC5BC4 #DCB35B #5BDC72
square
#5B84DC #DC5BC4 #DCB35B #5BDC72
split-complementary
#5B84DC #DC725B #C4DC5B
monochromatic
#21489B #2C5FCE #5B84DC #8DAAE7 #C0D0F2

Accessibility & contrast

On white

3.63
#5B84DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5B84DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84DC#FFFFFF#000000##000000
##5B84DC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DDF
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b84dc;
/* rgb */ color: rgb(91, 132, 220);
/* oklch */ color: oklch(62.5% 0.141 263.9);
Tailwind
colors: {
  custom: {
    50: '#93a7e7',
    500: '#5b84dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b84dc;
$custom-light: #93a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84dc",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 220.93,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.14087,
    "h": 263.9
  },
  "luminance": 0.23894
}

Semantic roles & 50–950 ramp

primary
#5B84DC
secondary
#E2D2B1
accent
#9419CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B84DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B84DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva