#5B6CD3#5B6CD3

#5B6CD3 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.0% C 0.158 H 273.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6CD3
RGBrgb(91, 108, 211)
HSLhsl(232, 58%, 59%)
HSVhsv(232, 57%, 83%)
CMYKcmyk(56.9%, 48.8%, 0%, 17.3%)
CIE-LABlab(49.07, 23.85, -55.25)
CIE-LCHlch(49.07, 60.18, 293.35°)
OKLaboklab(57% 0.0091 -0.1578)
OKLCHoklch(57% 0.158 273.3)
XYZxyz(21.4310, 17.6508, 63.8930)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CD3 #D3C25B
analogous
#5BA8D3 #5B6CD3 #865BD3
triadic
#5B6CD3 #D35B6C #6CD35B
tetradic
#5B6CD3 #D35BA8 #D3C25B #5BD386
square
#5B6CD3 #D35BA8 #D3C25B #5BD386
split-complementary
#5B6CD3 #D3865B #A8D35B
monochromatic
#26358E #3347BE #5B6CD3 #8B97E0 #BCC3ED

Accessibility & contrast

On white

4.64
#5B6CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5B6CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6CD3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CD3#FFFFFF#000000##FFFFFF
##5B6CD31.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397AD7
Deuteranopia (green-blind)
#2670D1
Tritanopia (blue-blind)
#0B8395
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b6cd3;
/* rgb */ color: rgb(91, 108, 211);
/* oklch */ color: oklch(57.0% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#9395e1',
    500: '#5b6cd3',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cd3;
$custom-light: #9395e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cd3",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 231.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.15807,
    "h": 273.3
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#5B6CD3
secondary
#DCD6AD
accent
#CB47E1
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B6CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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