#5B84CD#5B84CD

#5B84CD is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.6% C 0.120 H 261.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B84CD
RGBrgb(91, 132, 205)
HSLhsl(218, 53%, 58%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(55.6%, 35.6%, 0%, 19.6%)
CIE-LABlab(55.21, 7.25, -42.07)
CIE-LCHlch(55.21, 42.69, 279.77°)
OKLaboklab(61.6% -0.0183 -0.1189)
OKLCHoklch(61.6% 0.12 261.3)
XYZxyz(23.5813, 23.1326, 60.9681)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84CD #CDA45B
analogous
#5BBDCD #5B84CD #6B5BCD
triadic
#5B84CD #CD5B84 #84CD5B
tetradic
#5B84CD #CD5BBD #CDA45B #5BCD6B
square
#5B84CD #CD5BBD #CDA45B #5BCD6B
split-complementary
#5B84CD #CD6B5B #BDCD5B
monochromatic
#294A85 #3764B4 #5B84CD #8AA7DB #B9CAEA

Accessibility & contrast

On white

3.73
#5B84CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5B84CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84CD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84CD#FFFFFF#000000##000000
##5B84CD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#0E949F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b84cd;
/* rgb */ color: rgb(91, 132, 205);
/* oklch */ color: oklch(61.6% 0.120 261.3);
Tailwind
colors: {
  custom: {
    50: '#91a7dc',
    500: '#5b84cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b84cd;
$custom-light: #91a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84cd",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 218.421,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.12034,
    "h": 261.3
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#5B84CD
secondary
#D9C8AB
accent
#A84BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B84CD

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

Preview Lab → · Contrast checker → · Palette generator →

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