#6A71CA#6A71CA

#6A71CA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.135 H 277.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6A71CA
RGBrgb(106, 113, 202)
HSLhsl(236, 48%, 60%)
HSVhsv(236, 48%, 79%)
CMYKcmyk(47.5%, 44.1%, 0%, 20.8%)
CIE-LABlab(50.85, 21.20, -47.22)
CIE-LCHlch(50.85, 51.76, 294.17°)
OKLaboklab(58.44% 0.0187 -0.1338)
OKLCHoklch(58.44% 0.135 277.9)
XYZxyz(22.5064, 19.1375, 58.3737)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71CA #CAC36A
analogous
#6AA1CA #6A71CA #936ACA
triadic
#6A71CA #CA6A71 #71CA6A
tetradic
#6A71CA #CA6AA1 #CAC36A #6ACA93
square
#6A71CA #CA6AA1 #CAC36A #6ACA93
split-complementary
#6A71CA #CA936A #A1CA6A
monochromatic
#313789 #4149B6 #6A71CA #979CDA #C4C7EA

Accessibility & contrast

On white

4.35
#6A71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6A71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71CA#FFFFFF#000000##000000
##6A71CA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#4675C8
Tritanopia (blue-blind)
#478494
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6a71ca;
/* rgb */ color: rgb(106, 113, 202);
/* oklch */ color: oklch(58.4% 0.135 277.9);
Tailwind
colors: {
  custom: {
    50: '#9a99da',
    500: '#6a71ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a71ca;
$custom-light: #9a99da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71ca",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 235.625,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.13514,
    "h": 277.9
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#6A71CA
secondary
#DAD8B6
accent
#B02BBB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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