#5B84EB#5B84EB

#5B84EB is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.4% C 0.161 H 265.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5B84EB
RGBrgb(91, 132, 235)
HSLhsl(223, 78%, 64%)
HSVhsv(223, 61%, 92%)
CMYKcmyk(61.3%, 43.8%, 0%, 7.8%)
CIE-LABlab(56.80, 17.11, -56.36)
CIE-LCHlch(56.80, 58.91, 286.89°)
OKLaboklab(63.36% -0.0121 -0.1608)
OKLCHoklch(63.36% 0.161 265.7)
XYZxyz(27.5559, 24.7224, 81.9009)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84EB #EBC25B
analogous
#5BCCEB #5B84EB #7A5BEB
triadic
#5B84EB #EB5B84 #84EB5B
tetradic
#5B84EB #EB5BCC #EBC25B #5BEB7A
square
#5B84EB #EB5BCC #EBC25B #5BEB7A
split-complementary
#5B84EB #EB7A5B #CCEB5B
monochromatic
#1643B5 #245BE4 #5B84EB #92ADF2 #C8D6F8

Accessibility & contrast

On white

3.53
#5B84EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5B84EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84EB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84EB#FFFFFF#000000##000000
##5B84EB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b84eb;
/* rgb */ color: rgb(91, 132, 235);
/* oklch */ color: oklch(63.4% 0.161 265.7);
Tailwind
colors: {
  custom: {
    50: '#95a7f2',
    500: '#5b84eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b84eb;
$custom-light: #95a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84eb",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 222.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63355,
    "c": 0.16127,
    "h": 265.7
  },
  "luminance": 0.24725
}

Semantic roles & 50–950 ramp

primary
#5B84EB
secondary
#EADCB8
accent
#9F0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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