#6A71EC#6A71EC

#6A71EC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.182 H 277.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6A71EC
RGBrgb(106, 113, 236)
HSLhsl(237, 77%, 67%)
HSVhsv(237, 55%, 93%)
CMYKcmyk(55.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(52.87, 31.76, -63.19)
CIE-LCHlch(52.87, 70.72, 296.69°)
OKLaboklab(60.62% 0.0223 -0.1807)
OKLCHoklch(60.62% 0.182 277)
XYZxyz(26.9845, 20.9287, 81.9583)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71EC #ECE56A
analogous
#6AB2EC #6A71EC #A46AEC
triadic
#6A71EC #EC6A71 #71EC6A
tetradic
#6A71EC #EC6AB2 #ECE56A #6AECA4
square
#6A71EC #EC6AB2 #ECE56A #6AECA4
split-complementary
#6A71EC #ECA46A #B2EC6A
monochromatic
#1922C3 #343DE5 #6A71EC #A0A5F3 #D7D8FA

Accessibility & contrast

On white

4.05
#6A71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6A71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71EC#FFFFFF#000000##000000
##6A71EC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#0C79E9
Tritanopia (blue-blind)
#258DA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a71ec;
/* rgb */ color: rgb(106, 113, 236);
/* oklch */ color: oklch(60.6% 0.182 277.0);
Tailwind
colors: {
  custom: {
    50: '#9e99f3',
    500: '#6a71ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a71ec;
$custom-light: #9e99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71ec",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 236.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.18211,
    "h": 277
  },
  "luminance": 0.20931
}

Semantic roles & 50–950 ramp

primary
#6A71EC
secondary
#EEEBC4
accent
#CF0CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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