#5B84FE#5B84FE

#5B84FE is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.6% C 0.187 H 267.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5B84FE
RGBrgb(91, 132, 254)
HSLhsl(225, 99%, 68%)
HSVhsv(225, 64%, 100%)
CMYKcmyk(64.2%, 48%, 0%, 0.4%)
CIE-LABlab(57.92, 23.49, -65.08)
CIE-LCHlch(57.92, 69.19, 289.85°)
OKLaboklab(64.57% -0.0094 -0.1864)
OKLCHoklch(64.57% 0.187 267.1)
XYZxyz(30.4489, 25.8796, 97.1373)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84FE #FED55B
analogous
#5BD5FE #5B84FE #835BFE
triadic
#5B84FE #FE5B84 #84FE5B
tetradic
#5B84FE #FE5BD5 #FED55B #5BFE83
square
#5B84FE #FE5BD5 #FED55B #5BFE83
split-complementary
#5B84FE #FE835B #D5FE5B
monochromatic
#0139DD #1E56FE #5B84FE #98B2FE #D5DFFF

Accessibility & contrast

On white

3.40
#5B84FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5B84FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84FE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84FE#FFFFFF#000000##000000
##5B84FE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#1B84FB
Tritanopia (blue-blind)
#00A0B5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b84fe;
/* rgb */ color: rgb(91, 132, 254);
/* oklch */ color: oklch(64.6% 0.187 267.1);
Tailwind
colors: {
  custom: {
    50: '#98a7ff',
    500: '#5b84fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b84fe;
$custom-light: #98a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84fe",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 224.908,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6457,
    "c": 0.18667,
    "h": 267.1
  },
  "luminance": 0.25882
}

Semantic roles & 50–950 ramp

primary
#5B84FE
secondary
#F4E7C1
accent
#AC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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