#6A71EE#6A71EE

#6A71EE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.8% C 0.185 H 277.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6A71EE
RGBrgb(106, 113, 238)
HSLhsl(237, 80%, 67%)
HSVhsv(237, 55%, 93%)
CMYKcmyk(55.5%, 52.5%, 0%, 6.7%)
CIE-LABlab(53.00, 32.39, -64.10)
CIE-LCHlch(53.00, 71.82, 296.81°)
OKLaboklab(60.76% 0.0224 -0.1834)
OKLCHoklch(60.76% 0.185 277)
XYZxyz(27.2767, 21.0456, 83.4972)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71EE #EEE76A
analogous
#6AB3EE #6A71EE #A56AEE
triadic
#6A71EE #EE6A71 #71EE6A
tetradic
#6A71EE #EE6AB3 #EEE76A #6AEEA5
square
#6A71EE #EE6AB3 #EEE76A #6AEEA5
split-complementary
#6A71EE #EEA56A #B3EE6A
monochromatic
#1720C7 #333DE8 #6A71EE #A1A5F4 #D8DAFB

Accessibility & contrast

On white

4.03
#6A71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6A71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71EE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71EE#FFFFFF#000000##000000
##6A71EE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F2
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#218EA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a71ee;
/* rgb */ color: rgb(106, 113, 238);
/* oklch */ color: oklch(60.8% 0.185 277.0);
Tailwind
colors: {
  custom: {
    50: '#9e99f4',
    500: '#6a71ee',
    950: '#000000',
  },
}
SCSS
$custom: #6a71ee;
$custom-light: #9e99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71ee",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 236.818,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.18479,
    "h": 277
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#6A71EE
secondary
#EFECC5
accent
#D10ADC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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