#5B84F2#5B84F2

#5B84F2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.8% C 0.171 H 266.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5B84F2
RGBrgb(91, 132, 242)
HSLhsl(224, 85%, 65%)
HSVhsv(224, 62%, 95%)
CMYKcmyk(62.4%, 45.5%, 0%, 5.1%)
CIE-LABlab(57.21, 19.46, -59.61)
CIE-LCHlch(57.21, 62.70, 288.08°)
OKLaboklab(63.79% -0.0111 -0.1703)
OKLCHoklch(63.79% 0.171 266.3)
XYZxyz(28.5871, 25.1349, 87.3322)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84F2 #F2C95B
analogous
#5BCFF2 #5B84F2 #7E5BF2
triadic
#5B84F2 #F25B84 #84F25B
tetradic
#5B84F2 #F25BCF #F2C95B #5BF27E
square
#5B84F2 #F25BCF #F2C95B #5BF27E
split-complementary
#5B84F2 #F27E5B #CFF25B
monochromatic
#0F40C3 #2259EE #5B84F2 #94AFF6 #CCD9FB

Accessibility & contrast

On white

3.48
#5B84F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5B84F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84F2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84F2#FFFFFF#000000##000000
##5B84F21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#3483F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b84f2;
/* rgb */ color: rgb(91, 132, 242);
/* oklch */ color: oklch(63.8% 0.171 266.3);
Tailwind
colors: {
  custom: {
    50: '#97a7f7',
    500: '#5b84f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b84f2;
$custom-light: #97a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84f2",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 223.709,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63793,
    "c": 0.17069,
    "h": 266.3
  },
  "luminance": 0.25137
}

Semantic roles & 50–950 ramp

primary
#5B84F2
secondary
#EEE0BB
accent
#A504E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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