#6A71CD#6A71CD

#6A71CD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.139 H 277.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6A71CD
RGBrgb(106, 113, 205)
HSLhsl(236, 50%, 61%)
HSVhsv(236, 48%, 80%)
CMYKcmyk(48.3%, 44.9%, 0%, 19.6%)
CIE-LABlab(51.01, 22.11, -48.67)
CIE-LCHlch(51.01, 53.45, 294.44°)
OKLaboklab(58.62% 0.0191 -0.1381)
OKLCHoklch(58.62% 0.139 277.9)
XYZxyz(22.8650, 19.2809, 60.2625)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71CD #CDC66A
analogous
#6AA2CD #6A71CD #946ACD
triadic
#6A71CD #CD6A71 #71CD6A
tetradic
#6A71CD #CD6AA2 #CDC66A #6ACD94
square
#6A71CD #CD6AA2 #CDC66A #6ACD94
split-complementary
#6A71CD #CD946A #A2CD6A
monochromatic
#2F368D #3F48BB #6A71CD #989DDC #C6C8EC

Accessibility & contrast

On white

4.32
#6A71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6A71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71CD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71CD#FFFFFF#000000##000000
##6A71CD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#458495
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6a71cd;
/* rgb */ color: rgb(106, 113, 205);
/* oklch */ color: oklch(58.6% 0.139 277.9);
Tailwind
colors: {
  custom: {
    50: '#9a99dd',
    500: '#6a71cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a71cd;
$custom-light: #9a99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71cd",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 235.758,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.1394,
    "h": 277.9
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#6A71CD
secondary
#DCD9B7
accent
#B328BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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