#6A71F0#6A71F0

#6A71F0 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.187 H 276.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6A71F0
RGBrgb(106, 113, 240)
HSLhsl(237, 82%, 68%)
HSVhsv(237, 56%, 94%)
CMYKcmyk(55.8%, 52.9%, 0%, 5.9%)
CIE-LABlab(53.13, 33.02, -65.01)
CIE-LCHlch(53.13, 72.91, 296.93°)
OKLaboklab(60.89% 0.0225 -0.1861)
OKLCHoklch(60.89% 0.187 276.9)
XYZxyz(27.5721, 21.1638, 85.0533)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71F0 #F0E96A
analogous
#6AB4F0 #6A71F0 #A66AF0
triadic
#6A71F0 #F06A71 #71F06A
tetradic
#6A71F0 #F06AB4 #F0E96A #6AF0A6
square
#6A71F0 #F06AB4 #F0E96A #6AF0A6
split-complementary
#6A71F0 #F0A66A #B4F06A
monochromatic
#141ECB #323CEA #6A71F0 #A2A6F6 #D9DBFB

Accessibility & contrast

On white

4.01
#6A71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6A71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71F0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71F0#FFFFFF#000000##000000
##6A71F01.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F4
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#1D8EA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a71f0;
/* rgb */ color: rgb(106, 113, 240);
/* oklch */ color: oklch(60.9% 0.187 276.9);
Tailwind
colors: {
  custom: {
    50: '#9f99f6',
    500: '#6a71f0',
    950: '#000000',
  },
}
SCSS
$custom: #6a71f0;
$custom-light: #9f99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71f0",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 236.866,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.18745,
    "h": 276.9
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#6A71F0
secondary
#F0EDC6
accent
#D307DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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