#6A71F2#6A71F2

#6A71F2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.0% C 0.190 H 276.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6A71F2
RGBrgb(106, 113, 242)
HSLhsl(237, 84%, 68%)
HSVhsv(237, 56%, 95%)
CMYKcmyk(56.2%, 53.3%, 0%, 5.1%)
CIE-LABlab(53.26, 33.65, -65.91)
CIE-LCHlch(53.26, 74.01, 297.05°)
OKLaboklab(61.03% 0.0226 -0.1888)
OKLCHoklch(61.03% 0.19 276.8)
XYZxyz(27.8709, 21.2833, 86.6266)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71F2 #F2EB6A
analogous
#6AB5F2 #6A71F2 #A76AF2
triadic
#6A71F2 #F26A71 #71F26A
tetradic
#6A71F2 #F26AB5 #F2EB6A #6AF2A7
square
#6A71F2 #F26AB5 #F2EB6A #6AF2A7
split-complementary
#6A71F2 #F2A76A #B5F26A
monochromatic
#121CCF #323BED #6A71F2 #A2A7F7 #DBDCFC

Accessibility & contrast

On white

3.99
#6A71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6A71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71F2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71F2#FFFFFF#000000##000000
##6A71F21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#198FA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a71f2;
/* rgb */ color: rgb(106, 113, 242);
/* oklch */ color: oklch(61.0% 0.190 276.8);
Tailwind
colors: {
  custom: {
    50: '#9f99f7',
    500: '#6a71f2',
    950: '#000000',
  },
}
SCSS
$custom: #6a71f2;
$custom-light: #9f99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71f2",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 236.912,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.19011,
    "h": 276.8
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#6A71F2
secondary
#F1EEC7
accent
#D505E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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