#5B84CF#5B84CF

#5B84CF is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.7% C 0.123 H 261.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5B84CF
RGBrgb(91, 132, 207)
HSLhsl(219, 55%, 58%)
HSVhsv(219, 56%, 81%)
CMYKcmyk(56%, 36.2%, 0%, 18.8%)
CIE-LABlab(55.31, 7.89, -43.05)
CIE-LCHlch(55.31, 43.76, 280.39°)
OKLaboklab(61.71% -0.0178 -0.1218)
OKLCHoklch(61.71% 0.123 261.7)
XYZxyz(23.8243, 23.2298, 62.2477)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84CF #CFA65B
analogous
#5BBECF #5B84CF #6C5BCF
triadic
#5B84CF #CF5B84 #84CF5B
tetradic
#5B84CF #CF5BBE #CFA65B #5BCF6C
square
#5B84CF #CF5BBE #CFA65B #5BCF6C
split-complementary
#5B84CF #CF6C5B #BECF5B
monochromatic
#284A88 #3663B7 #5B84CF #8AA8DD #BACBEB

Accessibility & contrast

On white

3.72
#5B84CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5B84CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84CF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84CF#FFFFFF#000000##000000
##5B84CF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD2
Deuteranopia (green-blind)
#5780CD
Tritanopia (blue-blind)
#0795A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b84cf;
/* rgb */ color: rgb(91, 132, 207);
/* oklch */ color: oklch(61.7% 0.123 261.7);
Tailwind
colors: {
  custom: {
    50: '#91a7de',
    500: '#5b84cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b84cf;
$custom-light: #91a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84cf",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 207
  },
  "hsl": {
    "h": 218.793,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.12308,
    "h": 261.7
  },
  "luminance": 0.23232
}

Semantic roles & 50–950 ramp

primary
#5B84CF
secondary
#DACAAC
accent
#AA4ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B84CF

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

Preview Lab → · Contrast checker → · Palette generator →

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