#6A6796#6A6796

#6A6796 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.6% C 0.073 H 286.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6A6796
RGBrgb(106, 103, 150)
HSLhsl(244, 19%, 50%)
HSVhsv(244, 31%, 59%)
CMYKcmyk(29.3%, 31.3%, 0%, 41.2%)
CIE-LABlab(45.59, 12.31, -25.21)
CIE-LCHlch(45.59, 28.06, 296.03°)
OKLaboklab(53.56% 0.0208 -0.0699)
OKLCHoklch(53.56% 0.073 286.6)
XYZxyz(16.2977, 14.9663, 30.8784)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6796 #939667
analogous
#677C96 #6A6796 #826796
triadic
#6A6796 #966A67 #67966A
tetradic
#6A6796 #96677C #939667 #679682
square
#6A6796 #96677C #939667 #679682
split-complementary
#6A6796 #968267 #7C9667
monochromatic
#37354D #504E72 #6A6796 #8D8BAF #B1AFC8

Accessibility & contrast

On white

5.26
#6A6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6A6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6796
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6796#FFFFFF#000000##FFFFFF
##6A67961.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D98
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#606F78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a6796;
/* rgb */ color: rgb(106, 103, 150);
/* oklch */ color: oklch(53.6% 0.073 286.6);
Tailwind
colors: {
  custom: {
    50: '#9692b5',
    500: '#6a6796',
    950: '#000000',
  },
}
SCSS
$custom: #6a6796;
$custom-light: #9692b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6796",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 243.83,
    "s": 18.577,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.07298,
    "h": 286.6
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#6A6796
secondary
#B6B7A2
accent
#BB6DB6
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0D11
muted
#7E7D80

Preview Lab

Preview with #6A6796

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

Preview Lab → · Contrast checker → · Palette generator →

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