#6A71EF#6A71EF

#6A71EF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.186 H 276.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6A71EF
RGBrgb(106, 113, 239)
HSLhsl(237, 81%, 68%)
HSVhsv(237, 56%, 94%)
CMYKcmyk(55.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(53.06, 32.71, -64.55)
CIE-LCHlch(53.06, 72.37, 296.87°)
OKLaboklab(60.82% 0.0225 -0.1848)
OKLCHoklch(60.82% 0.186 276.9)
XYZxyz(27.4240, 21.1045, 84.2731)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71EF #EFE86A
analogous
#6AB4EF #6A71EF #A56AEF
triadic
#6A71EF #EF6A71 #71EF6A
tetradic
#6A71EF #EF6AB4 #EFE86A #6AEFA5
square
#6A71EF #EF6AB4 #EFE86A #6AEFA5
split-complementary
#6A71EF #EFA56A #B4EF6A
monochromatic
#161FC9 #333CE9 #6A71EF #A1A6F5 #D9DAFB

Accessibility & contrast

On white

4.02
#6A71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6A71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71EF#FFFFFF#000000##000000
##6A71EF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#1F8EA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a71ef;
/* rgb */ color: rgb(106, 113, 239);
/* oklch */ color: oklch(60.8% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#9f99f5',
    500: '#6a71ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a71ef;
$custom-light: #9f99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71ef",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 236.842,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.18612,
    "h": 276.9
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#6A71EF
secondary
#EFEDC6
accent
#D209DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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