#6A71E8#6A71E8

#6A71E8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.177 H 277.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6A71E8
RGBrgb(106, 113, 232)
HSLhsl(237, 73%, 66%)
HSVhsv(237, 54%, 91%)
CMYKcmyk(54.3%, 51.3%, 0%, 9%)
CIE-LABlab(52.62, 30.50, -61.36)
CIE-LCHlch(52.62, 68.52, 296.43°)
OKLaboklab(60.35% 0.0221 -0.1754)
OKLCHoklch(60.35% 0.177 277.2)
XYZxyz(26.4098, 20.6989, 78.9319)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71E8 #E8E16A
analogous
#6AB0E8 #6A71E8 #A26AE8
triadic
#6A71E8 #E86A71 #71E86A
tetradic
#6A71E8 #E86AB0 #E8E16A #6AE8A2
square
#6A71E8 #E86AB0 #E8E16A #6AE8A2
split-complementary
#6A71E8 #E8A26A #B0E86A
monochromatic
#1D26BB #353EE0 #6A71E8 #9FA4F0 #D4D6F8

Accessibility & contrast

On white

4.09
#6A71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6A71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71E8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71E8#FFFFFF#000000##000000
##6A71E81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#1B79E5
Tritanopia (blue-blind)
#2B8CA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a71e8;
/* rgb */ color: rgb(106, 113, 232);
/* oklch */ color: oklch(60.3% 0.177 277.2);
Tailwind
colors: {
  custom: {
    50: '#9e99f0',
    500: '#6a71e8',
    950: '#000000',
  },
}
SCSS
$custom: #6a71e8;
$custom-light: #9e99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71e8",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 236.667,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.17674,
    "h": 277.2
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#6A71E8
secondary
#EBE9C2
accent
#CA10D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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