#5B84F6#5B84F6

#5B84F6 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.0% C 0.176 H 266.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5B84F6
RGBrgb(91, 132, 246)
HSLhsl(224, 90%, 66%)
HSVhsv(224, 63%, 96%)
CMYKcmyk(63%, 46.3%, 0%, 3.5%)
CIE-LABlab(57.44, 20.80, -61.44)
CIE-LCHlch(57.44, 64.87, 288.70°)
OKLaboklab(64.05% -0.0105 -0.1757)
OKLCHoklch(64.05% 0.176 266.6)
XYZxyz(29.1945, 25.3779, 90.5308)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84F6 #F6CD5B
analogous
#5BD1F6 #5B84F6 #7F5BF6
triadic
#5B84F6 #F65B84 #84F65B
tetradic
#5B84F6 #F65BD1 #F6CD5B #5BF67F
square
#5B84F6 #F65BD1 #F6CD5B #5BF67F
split-complementary
#5B84F6 #F67F5B #D1F65B
monochromatic
#0B3ECB #2158F3 #5B84F6 #95B0F9 #CFDBFC

Accessibility & contrast

On white

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

On black

6.08
#5B84F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84F6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84F6#FFFFFF#000000##000000
##5B84F61.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b84f6;
/* rgb */ color: rgb(91, 132, 246);
/* oklch */ color: oklch(64.0% 0.176 266.6);
Tailwind
colors: {
  custom: {
    50: '#97a7fa',
    500: '#5b84f6',
    950: '#000000',
  },
}
SCSS
$custom: #5b84f6;
$custom-light: #97a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84f6",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 224.129,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.17604,
    "h": 266.6
  },
  "luminance": 0.2538
}

Semantic roles & 50–950 ramp

primary
#5B84F6
secondary
#F0E2BD
accent
#A900E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B84F6

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

Preview Lab → · Contrast checker → · Palette generator →

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