#6A71EB#6A71EB

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

Color values

HEX#6A71EB
RGBrgb(106, 113, 235)
HSLhsl(237, 76%, 67%)
HSVhsv(237, 55%, 92%)
CMYKcmyk(54.9%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.81, 31.45, -62.73)
CIE-LCHlch(52.81, 70.17, 296.62°)
OKLaboklab(60.55% 0.0223 -0.1794)
OKLCHoklch(60.55% 0.181 277.1)
XYZxyz(26.8396, 20.8708, 81.1953)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71EB #EBE46A
analogous
#6AB2EB #6A71EB #A46AEB
triadic
#6A71EB #EB6A71 #71EB6A
tetradic
#6A71EB #EB6AB2 #EBE46A #6AEBA4
square
#6A71EB #EB6AB2 #EBE46A #6AEBA4
split-complementary
#6A71EB #EBA46A #B2EB6A
monochromatic
#1A23C1 #343EE4 #6A71EB #A0A4F2 #D6D8F9

Accessibility & contrast

On white

4.06
#6A71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6A71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71EB#FFFFFF#000000##000000
##6A71EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#1179E8
Tritanopia (blue-blind)
#268DA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a71eb;
/* rgb */ color: rgb(106, 113, 235);
/* oklch */ color: oklch(60.6% 0.181 277.1);
Tailwind
colors: {
  custom: {
    50: '#9e99f2',
    500: '#6a71eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a71eb;
$custom-light: #9e99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71eb",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 236.744,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.18078,
    "h": 277.1
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#6A71EB
secondary
#EDEBC4
accent
#CD0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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