#5C6AAA#5C6AAA

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

Color values

HEX#5C6AAA
RGBrgb(92, 106, 170)
HSLhsl(229, 31%, 51%)
HSVhsv(229, 46%, 67%)
CMYKcmyk(45.9%, 37.6%, 0%, 33.3%)
CIE-LABlab(46.29, 12.23, -35.99)
CIE-LCHlch(46.29, 38.01, 288.76°)
OKLaboklab(54.15% 0.0057 -0.1014)
OKLCHoklch(54.15% 0.102 273.2)
XYZxyz(16.8211, 15.4847, 40.1249)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6AAA #AA9C5C
analogous
#5C91AA #5C6AAA #755CAA
triadic
#5C6AAA #AA5C6A #6AAA5C
tetradic
#5C6AAA #AA5C91 #AA9C5C #5CAA75
square
#5C6AAA #AA5C91 #AA9C5C #5CAA75
split-complementary
#5C6AAA #AA755C #91AA5C
monochromatic
#30385C #455084 #5C6AAA #848FBF #ACB4D4

Accessibility & contrast

On white

5.13
#5C6AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5C6AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6AAA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6AAA#FFFFFF#000000##FFFFFF
##5C6AAA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#407782
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c6aaa;
/* rgb */ color: rgb(92, 106, 170);
/* oklch */ color: oklch(54.1% 0.102 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e94c3',
    500: '#5c6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #5c6aaa;
$custom-light: #8e94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6aaa",
  "rgb": {
    "r": 92,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 229.231,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.10154,
    "h": 273.2
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#5C6AAA
secondary
#C2BCA0
accent
#B560C8
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0D0D12
muted
#7D7E81

Preview Lab

Preview with #5C6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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