#5B84ED#5B84ED

#5B84ED is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.5% C 0.164 H 265.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5B84ED
RGBrgb(91, 132, 237)
HSLhsl(223, 80%, 64%)
HSVhsv(223, 62%, 93%)
CMYKcmyk(61.6%, 44.3%, 0%, 7.1%)
CIE-LABlab(56.92, 17.78, -57.29)
CIE-LCHlch(56.92, 59.99, 287.24°)
OKLaboklab(63.48% -0.0118 -0.1635)
OKLCHoklch(63.48% 0.164 265.9)
XYZxyz(27.8465, 24.8386, 83.4312)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84ED #EDC45B
analogous
#5BCDED #5B84ED #7B5BED
triadic
#5B84ED #ED5B84 #84ED5B
tetradic
#5B84ED #ED5BCD #EDC45B #5BED7B
square
#5B84ED #ED5BCD #EDC45B #5BED7B
split-complementary
#5B84ED #ED7B5B #CDED5B
monochromatic
#1443B9 #245BE7 #5B84ED #92ADF3 #C9D7F9

Accessibility & contrast

On white

3.52
#5B84ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5B84ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84ED
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84ED#FFFFFF#000000##000000
##5B84ED1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F1
Deuteranopia (green-blind)
#3B82EB
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b84ed;
/* rgb */ color: rgb(91, 132, 237);
/* oklch */ color: oklch(63.5% 0.164 265.9);
Tailwind
colors: {
  custom: {
    50: '#96a7f3',
    500: '#5b84ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b84ed;
$custom-light: #96a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84ed",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 237
  },
  "hsl": {
    "h": 223.151,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63479,
    "c": 0.16397,
    "h": 265.9
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#5B84ED
secondary
#EBDDB9
accent
#A109DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B84ED

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

Preview Lab → · Contrast checker → · Palette generator →

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