#6A6787#6A6787

#6A6787 is a mid, muted blue. Relative luminance 0.145; OKLCH L 52.9% C 0.050 H 288.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6A6787
RGBrgb(106, 103, 135)
HSLhsl(246, 13%, 47%)
HSVhsv(246, 24%, 53%)
CMYKcmyk(21.5%, 23.7%, 0%, 47.1%)
CIE-LABlab(44.96, 8.43, -17.23)
CIE-LCHlch(44.96, 19.18, 296.08°)
OKLaboklab(52.87% 0.0161 -0.0472)
OKLCHoklch(52.87% 0.05 288.9)
XYZxyz(15.1663, 14.5137, 24.9194)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6787 #848767
analogous
#677487 #6A6787 #7A6787
triadic
#6A6787 #876A67 #67876A
tetradic
#6A6787 #876774 #848767 #67877A
square
#6A6787 #876774 #848767 #67877A
split-complementary
#6A6787 #877A67 #748767
monochromatic
#333242 #4F4D64 #6A6787 #8A87A4 #ACAABE

Accessibility & contrast

On white

5.38
#6A6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6A6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6787
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6787#FFFFFF#000000##FFFFFF
##6A67871.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B88
Deuteranopia (green-blind)
#5F6A86
Tritanopia (blue-blind)
#646C72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a6787;
/* rgb */ color: rgb(106, 103, 135);
/* oklch */ color: oklch(52.9% 0.050 288.9);
Tailwind
colors: {
  custom: {
    50: '#9592aa',
    500: '#6a6787',
    950: '#000000',
  },
}
SCSS
$custom: #6a6787;
$custom-light: #9592aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6787",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 245.625,
    "s": 13.445,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.04992,
    "h": 288.9
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#6A6787
secondary
#ACAD9C
accent
#B672B0
background
#F9F8FA
surface
#F1F0F4
border
#CBCBCE
text
#0D0D10
muted
#7E7D7F

Preview Lab

Preview with #6A6787

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

Preview Lab → · Contrast checker → · Palette generator →

#6A6787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva