#6A6798#6A6798

#6A6798 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.7% C 0.076 H 286.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6A6798
RGBrgb(106, 103, 152)
HSLhsl(244, 19%, 50%)
HSVhsv(244, 32%, 60%)
CMYKcmyk(30.3%, 32.2%, 0%, 40.4%)
CIE-LABlab(45.68, 12.85, -26.26)
CIE-LCHlch(45.68, 29.24, 296.07°)
OKLaboklab(53.66% 0.0214 -0.073)
OKLCHoklch(53.66% 0.076 286.3)
XYZxyz(16.4601, 15.0313, 31.7338)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6798 #959867
analogous
#677D98 #6A6798 #826798
triadic
#6A6798 #986A67 #67986A
tetradic
#6A6798 #98677D #959867 #679882
square
#6A6798 #98677D #959867 #679882
split-complementary
#6A6798 #988267 #7D9867
monochromatic
#37364F #514E74 #6A6798 #8E8BB1 #B2B0C9

Accessibility & contrast

On white

5.24
#6A6798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A6798
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6798#FFFFFF#000000##FFFFFF
##6A67981.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a6798;
/* rgb */ color: rgb(106, 103, 152);
/* oklch */ color: oklch(53.7% 0.076 286.3);
Tailwind
colors: {
  custom: {
    50: '#9692b6',
    500: '#6a6798',
    950: '#000000',
  },
}
SCSS
$custom: #6a6798;
$custom-light: #9692b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6798",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 243.673,
    "s": 19.216,
    "l": 50
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.07603,
    "h": 286.3
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6798

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

Preview Lab → · Contrast checker → · Palette generator →

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