#5B6CDD#5B6CDD

#5B6CDD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.172 H 273.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5B6CDD
RGBrgb(91, 108, 221)
HSLhsl(232, 66%, 61%)
HSVhsv(232, 59%, 87%)
CMYKcmyk(58.8%, 51.1%, 0%, 13.3%)
CIE-LABlab(49.70, 27.14, -59.91)
CIE-LCHlch(49.70, 65.77, 294.37°)
OKLaboklab(57.68% 0.0101 -0.1715)
OKLCHoklch(57.68% 0.172 273.4)
XYZxyz(22.7238, 18.1680, 70.7019)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CDD #DDCC5B
analogous
#5BADDD #5B6CDD #8B5BDD
triadic
#5B6CDD #DD5B6C #6CDD5B
tetradic
#5B6CDD #DD5BAD #DDCC5B #5BDD8B
square
#5B6CDD #DD5BAD #DDCC5B #5BDD8B
split-complementary
#5B6CDD #DD8B5B #ADDD5B
monochromatic
#21319D #2B41D0 #5B6CDD #8E99E8 #C0C7F2

Accessibility & contrast

On white

4.53
#5B6CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5B6CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CDD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CDD#FFFFFF#000000##000000
##5B6CDD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#0971DB
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6cdd;
/* rgb */ color: rgb(91, 108, 221);
/* oklch */ color: oklch(57.7% 0.172 273.4);
Tailwind
colors: {
  custom: {
    50: '#9495e8',
    500: '#5b6cdd',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cdd;
$custom-light: #9495e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cdd",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 232.154,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.17183,
    "h": 273.4
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#5B6CDD
secondary
#E2DCB1
accent
#B618CE
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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