#6A71DC#6A71DC

#6A71DC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.160 H 277.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6A71DC
RGBrgb(106, 113, 220)
HSLhsl(236, 62%, 64%)
HSVhsv(236, 52%, 86%)
CMYKcmyk(51.8%, 48.6%, 0%, 13.7%)
CIE-LABlab(51.88, 26.75, -55.79)
CIE-LCHlch(51.88, 61.87, 295.61°)
OKLaboklab(59.56% 0.021 -0.159)
OKLCHoklch(59.56% 0.16 277.5)
XYZxyz(24.7632, 20.0402, 70.2595)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71DC #DCD56A
analogous
#6AAADC #6A71DC #9C6ADC
triadic
#6A71DC #DC6A71 #71DC6A
tetradic
#6A71DC #DC6AAA #DCD56A #6ADC9C
square
#6A71DC #DC6AAA #DCD56A #6ADC9C
split-complementary
#6A71DC #DC9C6A #AADC6A
monochromatic
#272EA5 #3842D0 #6A71DC #9CA0E8 #CDCFF3

Accessibility & contrast

On white

4.19
#6A71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6A71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71DC#FFFFFF#000000##000000
##6A71DC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#39889C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a71dc;
/* rgb */ color: rgb(106, 113, 220);
/* oklch */ color: oklch(59.6% 0.160 277.5);
Tailwind
colors: {
  custom: {
    50: '#9c99e7',
    500: '#6a71dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a71dc;
$custom-light: #9c99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71dc",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 236.316,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.16036,
    "h": 277.5
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

primary
#6A71DC
secondary
#E5E2BD
accent
#BF1CCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6A71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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