#5B84FA#5B84FA

#5B84FA is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.3% C 0.181 H 266.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5B84FA
RGBrgb(91, 132, 250)
HSLhsl(225, 94%, 67%)
HSVhsv(225, 64%, 98%)
CMYKcmyk(63.6%, 47.2%, 0%, 2%)
CIE-LABlab(57.68, 22.14, -63.27)
CIE-LCHlch(57.68, 67.03, 289.29°)
OKLaboklab(64.31% -0.0099 -0.1811)
OKLCHoklch(64.31% 0.181 266.9)
XYZxyz(29.8150, 25.6261, 93.7990)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84FA #FAD15B
analogous
#5BD4FA #5B84FA #825BFA
triadic
#5B84FA #FA5B84 #84FA5B
tetradic
#5B84FA #FA5BD4 #FAD15B #5BFA82
square
#5B84FA #FA5BD4 #FAD15B #5BFA82
split-complementary
#5B84FA #FA825B #D4FA5B
monochromatic
#063CD4 #2057F8 #5B84FA #96B1FC #D2DDFE

Accessibility & contrast

On white

3.43
#5B84FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5B84FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84FA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84FA#FFFFFF#000000##000000
##5B84FA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#009FB3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b84fa;
/* rgb */ color: rgb(91, 132, 250);
/* oklch */ color: oklch(64.3% 0.181 266.9);
Tailwind
colors: {
  custom: {
    50: '#98a7fd',
    500: '#5b84fa',
    950: '#000000',
  },
}
SCSS
$custom: #5b84fa;
$custom-light: #98a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84fa",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 224.528,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.18136,
    "h": 266.9
  },
  "luminance": 0.25629
}

Semantic roles & 50–950 ramp

primary
#5B84FA
secondary
#F2E5BF
accent
#AA00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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