#5B6AAA#5B6AAA

#5B6AAA is a mid, moderate blue. Relative luminance 0.154; OKLCH L 54.1% C 0.102 H 272.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5B6AAA
RGBrgb(91, 106, 170)
HSLhsl(229, 32%, 51%)
HSVhsv(229, 46%, 67%)
CMYKcmyk(46.5%, 37.6%, 0%, 33.3%)
CIE-LABlab(46.22, 11.97, -36.10)
CIE-LCHlch(46.22, 38.03, 288.34°)
OKLaboklab(54.07% 0.0046 -0.1017)
OKLCHoklch(54.07% 0.102 272.6)
XYZxyz(16.7219, 15.4336, 40.1203)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6AAA #AA9B5B
analogous
#5B91AA #5B6AAA #735BAA
triadic
#5B6AAA #AA5B6A #6AAA5B
tetradic
#5B6AAA #AA5B91 #AA9B5B #5BAA73
square
#5B6AAA #AA5B91 #AA9B5B #5BAA73
split-complementary
#5B6AAA #AA735B #91AA5B
monochromatic
#2F385B #445084 #5B6AAA #838FBF #ACB3D4

Accessibility & contrast

On white

5.14
#5B6AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5B6AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6AAA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6AAA#FFFFFF#000000##FFFFFF
##5B6AAA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#3E7782
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b6aaa;
/* rgb */ color: rgb(91, 106, 170);
/* oklch */ color: oklch(54.1% 0.102 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d94c3',
    500: '#5b6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #5b6aaa;
$custom-light: #8d94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6aaa",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 228.608,
    "s": 31.727,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.10183,
    "h": 272.6
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#5B6AAA
secondary
#C2BB9F
accent
#B460C8
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #5B6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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