#5B6CA2#5B6CA2

#5B6CA2 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.1% C 0.087 H 270.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5B6CA2
RGBrgb(91, 108, 162)
HSLhsl(226, 28%, 50%)
HSVhsv(226, 44%, 64%)
CMYKcmyk(43.8%, 33.3%, 0%, 36.5%)
CIE-LABlab(46.39, 8.29, -31.15)
CIE-LCHlch(46.39, 32.23, 284.90°)
OKLaboklab(54.07% 0 -0.0873)
OKLCHoklch(54.07% 0.087 270)
XYZxyz(16.1965, 15.5570, 36.3248)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CA2 #A2915B
analogous
#5B90A2 #5B6CA2 #6E5BA2
triadic
#5B6CA2 #A25B6C #6CA25B
tetradic
#5B6CA2 #A25B90 #A2915B #5BA26E
square
#5B6CA2 #A25B90 #A2915B #5BA26E
split-complementary
#5B6CA2 #A26E5B #90A25B
monochromatic
#2F3854 #45527B #5B6CA2 #828FB9 #A9B2CF

Accessibility & contrast

On white

5.11
#5B6CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5B6CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6CA2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CA2#FFFFFF#000000##FFFFFF
##5B6CA21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#42777F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b6ca2;
/* rgb */ color: rgb(91, 108, 162);
/* oklch */ color: oklch(54.1% 0.087 270.0);
Tailwind
colors: {
  custom: {
    50: '#8d95be',
    500: '#5b6ca2',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ca2;
$custom-light: #8d95be;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ca2",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 225.634,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.08732,
    "h": 270
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#5B6CA2
secondary
#BDB59C
accent
#AD63C4
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #5B6CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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