#6A6797#6A6797

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

Color values

HEX#6A6797
RGBrgb(106, 103, 151)
HSLhsl(244, 19%, 50%)
HSVhsv(244, 32%, 59%)
CMYKcmyk(29.8%, 31.8%, 0%, 40.8%)
CIE-LABlab(45.63, 12.58, -25.74)
CIE-LCHlch(45.63, 28.65, 296.05°)
OKLaboklab(53.61% 0.0211 -0.0714)
OKLCHoklch(53.61% 0.075 286.5)
XYZxyz(16.3786, 14.9987, 31.3043)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6797 #949767
analogous
#677C97 #6A6797 #826797
triadic
#6A6797 #976A67 #67976A
tetradic
#6A6797 #97677C #949767 #679782
square
#6A6797 #97677C #949767 #679782
split-complementary
#6A6797 #978267 #7C9767
monochromatic
#37354E #504E73 #6A6797 #8D8BB0 #B1B0C9

Accessibility & contrast

On white

5.25
#6A6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6A6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6797
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6797#FFFFFF#000000##FFFFFF
##6A67971.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D99
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#5F7078
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a6797;
/* rgb */ color: rgb(106, 103, 151);
/* oklch */ color: oklch(53.6% 0.074 286.5);
Tailwind
colors: {
  custom: {
    50: '#9692b5',
    500: '#6a6797',
    950: '#000000',
  },
}
SCSS
$custom: #6a6797;
$custom-light: #9692b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6797",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 243.75,
    "s": 18.898,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.0745,
    "h": 286.5
  },
  "luminance": 0.14999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6797

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

Preview Lab → · Contrast checker → · Palette generator →

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