#5B84F5#5B84F5

#5B84F5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.0% C 0.175 H 266.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5B84F5
RGBrgb(91, 132, 245)
HSLhsl(224, 89%, 66%)
HSVhsv(224, 63%, 96%)
CMYKcmyk(62.9%, 46.1%, 0%, 3.9%)
CIE-LABlab(57.38, 20.46, -60.98)
CIE-LCHlch(57.38, 64.33, 288.55°)
OKLaboklab(63.99% -0.0106 -0.1744)
OKLCHoklch(63.99% 0.175 266.5)
XYZxyz(29.0414, 25.3166, 89.7246)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84F5 #F5CC5B
analogous
#5BD1F5 #5B84F5 #7F5BF5
triadic
#5B84F5 #F55B84 #84F55B
tetradic
#5B84F5 #F55BD1 #F5CC5B #5BF57F
square
#5B84F5 #F55BD1 #F5CC5B #5BF57F
split-complementary
#5B84F5 #F57F5B #D1F55B
monochromatic
#0C3FC9 #2159F1 #5B84F5 #95AFF9 #CEDBFC

Accessibility & contrast

On white

3.46
#5B84F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5B84F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84F5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84F5#FFFFFF#000000##000000
##5B84F51.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#2F83F3
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b84f5;
/* rgb */ color: rgb(91, 132, 245);
/* oklch */ color: oklch(64.0% 0.175 266.5);
Tailwind
colors: {
  custom: {
    50: '#97a7f9',
    500: '#5b84f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b84f5;
$custom-light: #97a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84f5",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 224.026,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63985,
    "c": 0.1747,
    "h": 266.5
  },
  "luminance": 0.25319
}

Semantic roles & 50–950 ramp

primary
#5B84F5
secondary
#EFE2BC
accent
#A800E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B84F5

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

Preview Lab → · Contrast checker → · Palette generator →

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