#5B84EA#5B84EA

#5B84EA is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.160 H 265.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5B84EA
RGBrgb(91, 132, 234)
HSLhsl(223, 77%, 64%)
HSVhsv(223, 61%, 92%)
CMYKcmyk(61.1%, 43.6%, 0%, 8.2%)
CIE-LABlab(56.75, 16.78, -55.90)
CIE-LCHlch(56.75, 58.36, 286.71°)
OKLaboklab(63.29% -0.0123 -0.1594)
OKLCHoklch(63.29% 0.16 265.6)
XYZxyz(27.4118, 24.6648, 81.1422)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84EA #EAC15B
analogous
#5BCBEA #5B84EA #795BEA
triadic
#5B84EA #EA5B84 #84EA5B
tetradic
#5B84EA #EA5BCB #EAC15B #5BEA79
square
#5B84EA #EA5BCB #EAC15B #5BEA79
split-complementary
#5B84EA #EA795B #CBEA5B
monochromatic
#1744B4 #255BE3 #5B84EA #91ADF1 #C8D5F8

Accessibility & contrast

On white

3.54
#5B84EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5B84EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84EA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84EA#FFFFFF#000000##000000
##5B84EA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b84ea;
/* rgb */ color: rgb(91, 132, 234);
/* oklch */ color: oklch(63.3% 0.160 265.6);
Tailwind
colors: {
  custom: {
    50: '#95a7f1',
    500: '#5b84ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b84ea;
$custom-light: #95a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84ea",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 222.797,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63293,
    "c": 0.15991,
    "h": 265.6
  },
  "luminance": 0.24667
}

Semantic roles & 50–950 ramp

primary
#5B84EA
secondary
#EADBB7
accent
#9F0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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