#6A71E9#6A71E9

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

Color values

HEX#6A71E9
RGBrgb(106, 113, 233)
HSLhsl(237, 74%, 66%)
HSVhsv(237, 55%, 91%)
CMYKcmyk(54.5%, 51.5%, 0%, 8.6%)
CIE-LABlab(52.68, 30.82, -61.82)
CIE-LCHlch(52.68, 69.07, 296.50°)
OKLaboklab(60.42% 0.0221 -0.1767)
OKLCHoklch(60.42% 0.178 277.1)
XYZxyz(26.5523, 20.7558, 79.6821)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71E9 #E9E26A
analogous
#6AB1E9 #6A71E9 #A36AE9
triadic
#6A71E9 #E96A71 #71E96A
tetradic
#6A71E9 #E96AB1 #E9E26A #6AE9A3
square
#6A71E9 #E96AB1 #E9E26A #6AE9A3
split-complementary
#6A71E9 #E9A36A #B1E96A
monochromatic
#1C25BD #353EE1 #6A71E9 #9FA4F1 #D5D7F9

Accessibility & contrast

On white

4.08
#6A71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6A71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71E9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71E9#FFFFFF#000000##000000
##6A71E91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#1879E6
Tritanopia (blue-blind)
#298CA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a71e9;
/* rgb */ color: rgb(106, 113, 233);
/* oklch */ color: oklch(60.4% 0.178 277.1);
Tailwind
colors: {
  custom: {
    50: '#9e99f1',
    500: '#6a71e9',
    950: '#000000',
  },
}
SCSS
$custom: #6a71e9;
$custom-light: #9e99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71e9",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 236.693,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.17809,
    "h": 277.1
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#6A71E9
secondary
#ECEAC3
accent
#CB0FD6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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