#5C7AAA#5C7AAA

#5C7AAA is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.6% C 0.082 H 259.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5C7AAA
RGBrgb(92, 122, 170)
HSLhsl(217, 31%, 51%)
HSVhsv(217, 46%, 67%)
CMYKcmyk(45.9%, 28.2%, 0%, 33.3%)
CIE-LABlab(50.80, 2.50, -28.93)
CIE-LCHlch(50.80, 29.04, 274.94°)
OKLaboklab(57.64% -0.0149 -0.0809)
OKLCHoklch(57.64% 0.082 259.6)
XYZxyz(18.6265, 19.0955, 40.7267)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AAA #AA8C5C
analogous
#5CA1AA #5C7AAA #655CAA
triadic
#5C7AAA #AA5C7A #7AAA5C
tetradic
#5C7AAA #AA5CA1 #AA8C5C #5CAA65
square
#5C7AAA #AA5CA1 #AA8C5C #5CAA65
split-complementary
#5C7AAA #AA655C #A1AA5C
monochromatic
#30415C #455D84 #5C7AAA #849BBF #ACBCD4

Accessibility & contrast

On white

4.36
#5C7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5C7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AAA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AAA#FFFFFF#000000##000000
##5C7AAA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAC
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#3E848B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c7aaa;
/* rgb */ color: rgb(92, 122, 170);
/* oklch */ color: oklch(57.6% 0.082 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ea0c3',
    500: '#5c7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #5c7aaa;
$custom-light: #8ea0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7aaa",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 216.923,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.08224,
    "h": 259.6
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#5C7AAA
secondary
#C2B5A0
accent
#A060C8
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E12
muted
#7D7E81

Preview Lab

Preview with #5C7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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