#6A71B2#6A71B2

#6A71B2 is a mid, moderate blue. Relative luminance 0.181; OKLCH L 57.1% C 0.100 H 278.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6A71B2
RGBrgb(106, 113, 178)
HSLhsl(234, 32%, 56%)
HSVhsv(234, 40%, 70%)
CMYKcmyk(40.4%, 36.5%, 0%, 30.2%)
CIE-LABlab(49.60, 14.04, -35.37)
CIE-LCHlch(49.60, 38.06, 291.65°)
OKLaboklab(57.08% 0.014 -0.0993)
OKLCHoklch(57.08% 0.1 278)
XYZxyz(19.8825, 18.0879, 44.5546)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71B2 #B2AB6A
analogous
#6A95B2 #6A71B2 #876AB2
triadic
#6A71B2 #B26A71 #71B26A
tetradic
#6A71B2 #B26A95 #B2AB6A #6AB287
square
#6A71B2 #B26A95 #B2AB6A #6AB287
split-complementary
#6A71B2 #B2876A #95B26A
monochromatic
#373C6B #4C5393 #6A71B2 #9297C7 #BBBEDC

Accessibility & contrast

On white

4.55
#6A71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6A71B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71B2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71B2#FFFFFF#000000##000000
##6A71B21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#547E89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a71b2;
/* rgb */ color: rgb(106, 113, 178);
/* oklch */ color: oklch(57.1% 0.100 278.0);
Tailwind
colors: {
  custom: {
    50: '#9799c9',
    500: '#6a71b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a71b2;
$custom-light: #9799c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71b2",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 234.167,
    "s": 31.858,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.10026,
    "h": 278
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#6A71B2
secondary
#CBC8AD
accent
#BE60C8
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #6A71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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