#5B84EF#5B84EF

#5B84EF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.6% C 0.167 H 266.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5B84EF
RGBrgb(91, 132, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 62%, 94%)
CMYKcmyk(61.9%, 44.8%, 0%, 6.3%)
CIE-LABlab(57.03, 18.45, -58.22)
CIE-LCHlch(57.03, 61.07, 287.58°)
OKLaboklab(63.6% -0.0115 -0.1663)
OKLCHoklch(63.6% 0.167 266)
XYZxyz(28.1403, 24.9562, 84.9787)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84EF #EFC65B
analogous
#5BCEEF #5B84EF #7C5BEF
triadic
#5B84EF #EF5B84 #84EF5B
tetradic
#5B84EF #EF5BCE #EFC65B #5BEF7C
square
#5B84EF #EF5BCE #EFC65B #5BEF7C
split-complementary
#5B84EF #EF7C5B #CEEF5B
monochromatic
#1242BD #235AEA #5B84EF #93AEF4 #CBD8FA

Accessibility & contrast

On white

3.50
#5B84EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5B84EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84EF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84EF#FFFFFF#000000##000000
##5B84EF1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#3983ED
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b84ef;
/* rgb */ color: rgb(91, 132, 239);
/* oklch */ color: oklch(63.6% 0.167 266.0);
Tailwind
colors: {
  custom: {
    50: '#96a7f5',
    500: '#5b84ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b84ef;
$custom-light: #96a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84ef",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 223.378,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63604,
    "c": 0.16666,
    "h": 266
  },
  "luminance": 0.24959
}

Semantic roles & 50–950 ramp

primary
#5B84EF
secondary
#ECDEBA
accent
#A307DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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