#6A7AAA#6A7AAA

#6A7AAA is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.6% C 0.076 H 269.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6A7AAA
RGBrgb(106, 122, 170)
HSLhsl(225, 27%, 54%)
HSVhsv(225, 38%, 67%)
CMYKcmyk(37.6%, 28.2%, 0%, 33.3%)
CIE-LABlab(51.71, 6.33, -27.45)
CIE-LCHlch(51.71, 28.17, 282.99°)
OKLaboklab(58.59% -0.0003 -0.0764)
OKLCHoklch(58.59% 0.076 269.8)
XYZxyz(20.1569, 19.8846, 40.7985)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7AAA #AA9A6A
analogous
#6A9AAA #6A7AAA #7A6AAA
triadic
#6A7AAA #AA6A7A #7AAA6A
tetradic
#6A7AAA #AA6A9A #AA9A6A #6AAA7A
square
#6A7AAA #AA6A9A #AA9A6A #6AAA7A
split-complementary
#6A7AAA #AA7A6A #9AAA6A
monochromatic
#384262 #4E5D89 #6A7AAA #919DC0 #B8C0D6

Accessibility & contrast

On white

4.22
#6A7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6A7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7AAA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7AAA#FFFFFF#000000##000000
##6A7AAA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAC
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#56848B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a7aaa;
/* rgb */ color: rgb(106, 122, 170);
/* oklch */ color: oklch(58.6% 0.076 269.8);
Tailwind
colors: {
  custom: {
    50: '#97a0c3',
    500: '#6a7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6a7aaa;
$custom-light: #97a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7aaa",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 225,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58586,
    "c": 0.07639,
    "h": 269.8
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#6A7AAA
secondary
#C6BFAA
accent
#AC64C4
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E12
muted
#7E7E81

Preview Lab

Preview with #6A7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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