#6A71EA#6A71EA

#6A71EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.5% C 0.179 H 277.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A71EA
RGBrgb(106, 113, 234)
HSLhsl(237, 75%, 67%)
HSVhsv(237, 55%, 92%)
CMYKcmyk(54.7%, 51.7%, 0%, 8.2%)
CIE-LABlab(52.74, 31.13, -62.27)
CIE-LCHlch(52.74, 69.62, 296.56°)
OKLaboklab(60.48% 0.0222 -0.1781)
OKLCHoklch(60.48% 0.179 277.1)
XYZxyz(26.6955, 20.8131, 80.4366)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71EA #EAE36A
analogous
#6AB1EA #6A71EA #A36AEA
triadic
#6A71EA #EA6A71 #71EA6A
tetradic
#6A71EA #EA6AB1 #EAE36A #6AEAA3
square
#6A71EA #EA6AB1 #EAE36A #6AEAA3
split-complementary
#6A71EA #EAA36A #B1EA6A
monochromatic
#1B24BF #343EE2 #6A71EA #A0A4F2 #D5D7F9

Accessibility & contrast

On white

4.07
#6A71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6A71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71EA#FFFFFF#000000##000000
##6A71EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#1579E7
Tritanopia (blue-blind)
#288CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a71ea;
/* rgb */ color: rgb(106, 113, 234);
/* oklch */ color: oklch(60.5% 0.179 277.1);
Tailwind
colors: {
  custom: {
    50: '#9e99f1',
    500: '#6a71ea',
    950: '#000000',
  },
}
SCSS
$custom: #6a71ea;
$custom-light: #9e99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71ea",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 236.719,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.17943,
    "h": 277.1
  },
  "luminance": 0.20815
}

Semantic roles & 50–950 ramp

primary
#6A71EA
secondary
#EDEAC3
accent
#CC0ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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