#6A6799#6A6799

#6A6799 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.7% C 0.078 H 286.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6A6799
RGBrgb(106, 103, 153)
HSLhsl(244, 20%, 50%)
HSVhsv(244, 33%, 60%)
CMYKcmyk(30.7%, 32.7%, 0%, 40%)
CIE-LABlab(45.72, 13.12, -26.79)
CIE-LCHlch(45.72, 29.83, 296.09°)
OKLaboklab(53.71% 0.0217 -0.0745)
OKLCHoklch(53.71% 0.078 286.2)
XYZxyz(16.5424, 15.0642, 32.1669)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6799 #969967
analogous
#677D99 #6A6799 #836799
triadic
#6A6799 #996A67 #67996A
tetradic
#6A6799 #99677D #969967 #679983
square
#6A6799 #99677D #969967 #679983
split-complementary
#6A6799 #998367 #7D9967
monochromatic
#373650 #514E75 #6A6799 #8E8CB2 #B2B0CA

Accessibility & contrast

On white

5.23
#6A6799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6A6799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6799
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6799#FFFFFF#000000##FFFFFF
##6A67991.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596E9B
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#5F7079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a6799;
/* rgb */ color: rgb(106, 103, 153);
/* oklch */ color: oklch(53.7% 0.078 286.2);
Tailwind
colors: {
  custom: {
    50: '#9692b7',
    500: '#6a6799',
    950: '#000000',
  },
}
SCSS
$custom: #6a6799;
$custom-light: #9692b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6799",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 243.6,
    "s": 19.685,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.07755,
    "h": 286.2
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#6A6799
secondary
#B8B9A3
accent
#BC6CB7
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0D11
muted
#7E7D80

Preview Lab

Preview with #6A6799

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

Preview Lab → · Contrast checker → · Palette generator →

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