#6A6AA2#6A6AA2

#6A6AA2 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.8% C 0.087 H 283.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6A6AA2
RGBrgb(106, 106, 162)
HSLhsl(240, 23%, 53%)
HSVhsv(240, 35%, 64%)
CMYKcmyk(34.6%, 34.6%, 0%, 36.5%)
CIE-LABlab(46.95, 13.75, -30.19)
CIE-LCHlch(46.95, 33.17, 294.50°)
OKLaboklab(54.79% 0.0197 -0.0843)
OKLCHoklch(54.79% 0.087 283.2)
XYZxyz(17.6177, 15.9803, 36.3317)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AA2 #A2A26A
analogous
#6A86A2 #6A6AA2 #866AA2
triadic
#6A6AA2 #A26A6A #6AA26A
tetradic
#6A6AA2 #A26A86 #A2A26A #6AA286
square
#6A6AA2 #A26A86 #A2A26A #6AA286
split-complementary
#6A6AA2 #A2866A #86A26A
monochromatic
#38385A #4F4F7F #6A6AA2 #9090BA #B5B5D1

Accessibility & contrast

On white

5.00
#6A6AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6A6AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6AA2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AA2#FFFFFF#000000##FFFFFF
##6A6AA21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#5B747E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a6aa2;
/* rgb */ color: rgb(106, 106, 162);
/* oklch */ color: oklch(54.8% 0.087 283.2);
Tailwind
colors: {
  custom: {
    50: '#9694be',
    500: '#6a6aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6a6aa2;
$custom-light: #9694be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6aa2",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 23.14,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.08655,
    "h": 283.2
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#6A6AA2
secondary
#C0C0A8
accent
#C068C0
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #6A6AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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