#5B84F8#5B84F8

#5B84F8 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.2% C 0.179 H 266.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5B84F8
RGBrgb(91, 132, 248)
HSLhsl(224, 92%, 66%)
HSVhsv(224, 63%, 97%)
CMYKcmyk(63.3%, 46.8%, 0%, 2.7%)
CIE-LABlab(57.56, 21.47, -62.36)
CIE-LCHlch(57.56, 65.95, 289.00°)
OKLaboklab(64.18% -0.0102 -0.1784)
OKLCHoklch(64.18% 0.179 266.7)
XYZxyz(29.5031, 25.5013, 92.1562)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84F8 #F8CF5B
analogous
#5BD3F8 #5B84F8 #815BF8
triadic
#5B84F8 #F85B84 #84F85B
tetradic
#5B84F8 #F85BD3 #F8CF5B #5BF881
square
#5B84F8 #F85BD3 #F8CF5B #5BF881
split-complementary
#5B84F8 #F8815B #D3F85B
monochromatic
#093DD0 #2058F5 #5B84F8 #96B0FB #D0DCFD

Accessibility & contrast

On white

3.44
#5B84F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5B84F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84F8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84F8#FFFFFF#000000##000000
##5B84F81.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#2A84F6
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b84f8;
/* rgb */ color: rgb(91, 132, 248);
/* oklch */ color: oklch(64.2% 0.179 266.7);
Tailwind
colors: {
  custom: {
    50: '#97a7fb',
    500: '#5b84f8',
    950: '#000000',
  },
}
SCSS
$custom: #5b84f8;
$custom-light: #97a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84f8",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 224.331,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64178,
    "c": 0.1787,
    "h": 266.7
  },
  "luminance": 0.25504
}

Semantic roles & 50–950 ramp

primary
#5B84F8
secondary
#F1E4BE
accent
#AA00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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