#6A71D6#6A71D6

#6A71D6 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.152 H 277.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6A71D6
RGBrgb(106, 113, 214)
HSLhsl(236, 57%, 63%)
HSVhsv(236, 50%, 84%)
CMYKcmyk(50.5%, 47.2%, 0%, 16.1%)
CIE-LABlab(51.53, 24.88, -52.96)
CIE-LCHlch(51.53, 58.52, 295.17°)
OKLaboklab(59.18% 0.0204 -0.1507)
OKLCHoklch(59.18% 0.152 277.7)
XYZxyz(23.9828, 19.7280, 66.1494)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71D6 #D6CF6A
analogous
#6AA7D6 #6A71D6 #996AD6
triadic
#6A71D6 #D66A71 #71D66A
tetradic
#6A71D6 #D66AA7 #D6CF6A #6AD699
square
#6A71D6 #D66AA7 #D6CF6A #6AD699
split-complementary
#6A71D6 #D6996A #A7D66A
monochromatic
#2B329B #3A43C9 #6A71D6 #9A9FE3 #CACCF0

Accessibility & contrast

On white

4.25
#6A71D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6A71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71D6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71D6#FFFFFF#000000##000000
##6A71D61.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FDA
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#3E8799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a71d6;
/* rgb */ color: rgb(106, 113, 214);
/* oklch */ color: oklch(59.2% 0.152 277.7);
Tailwind
colors: {
  custom: {
    50: '#9b99e3',
    500: '#6a71d6',
    950: '#000000',
  },
}
SCSS
$custom: #6a71d6;
$custom-light: #9b99e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71d6",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 236.111,
    "s": 56.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.15205,
    "h": 277.7
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#6A71D6
secondary
#E1DFBA
accent
#BA21C4
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E15
muted
#7F7E84

Preview Lab

Preview with #6A71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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