#6A71D8#6A71D8

#6A71D8 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.155 H 277.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6A71D8
RGBrgb(106, 113, 216)
HSLhsl(236, 59%, 63%)
HSVhsv(236, 51%, 85%)
CMYKcmyk(50.9%, 47.7%, 0%, 15.3%)
CIE-LABlab(51.65, 25.50, -53.91)
CIE-LCHlch(51.65, 59.64, 295.32°)
OKLaboklab(59.3% 0.0206 -0.1535)
OKLCHoklch(59.3% 0.155 277.6)
XYZxyz(24.2398, 19.8308, 67.5029)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71D8 #D8D16A
analogous
#6AA8D8 #6A71D8 #9A6AD8
triadic
#6A71D8 #D86A71 #71D86A
tetradic
#6A71D8 #D86AA8 #D8D16A #6AD89A
square
#6A71D8 #D86AA8 #D8D16A #6AD89A
split-complementary
#6A71D8 #D89A6A #A8D86A
monochromatic
#29319E #3943CB #6A71D8 #9B9FE5 #CBCDF1

Accessibility & contrast

On white

4.23
#6A71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6A71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71D8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71D8#FFFFFF#000000##000000
##6A71D81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DC
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#3C879A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a71d8;
/* rgb */ color: rgb(106, 113, 216);
/* oklch */ color: oklch(59.3% 0.155 277.6);
Tailwind
colors: {
  custom: {
    50: '#9c99e5',
    500: '#6a71d8',
    950: '#000000',
  },
}
SCSS
$custom: #6a71d8;
$custom-light: #9c99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71d8",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 236.182,
    "s": 58.511,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.15483,
    "h": 277.6
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#6A71D8
secondary
#E3E0BB
accent
#BC1FC6
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6A71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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