#6A71F4#6A71F4

#6A71F4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.193 H 276.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6A71F4
RGBrgb(106, 113, 244)
HSLhsl(237, 86%, 69%)
HSVhsv(237, 57%, 96%)
CMYKcmyk(56.6%, 53.7%, 0%, 4.3%)
CIE-LABlab(53.39, 34.29, -66.81)
CIE-LCHlch(53.39, 75.10, 297.16°)
OKLaboklab(61.17% 0.0227 -0.1914)
OKLCHoklch(61.17% 0.193 276.8)
XYZxyz(28.1729, 21.4041, 88.2172)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71F4 #F4ED6A
analogous
#6AB6F4 #6A71F4 #A86AF4
triadic
#6A71F4 #F46A71 #71F46A
tetradic
#6A71F4 #F46AB6 #F4ED6A #6AF4A8
square
#6A71F4 #F46AB6 #F4ED6A #6AF4A8
split-complementary
#6A71F4 #F4A86A #B6F46A
monochromatic
#101AD4 #313BF0 #6A71F4 #A3A7F8 #DCDEFC

Accessibility & contrast

On white

3.98
#6A71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6A71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71F4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71F4#FFFFFF#000000##000000
##6A71F41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A85F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#138FA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a71f4;
/* rgb */ color: rgb(106, 113, 244);
/* oklch */ color: oklch(61.2% 0.193 276.8);
Tailwind
colors: {
  custom: {
    50: '#9f99f9',
    500: '#6a71f4',
    950: '#000000',
  },
}
SCSS
$custom: #6a71f4;
$custom-light: #9f99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71f4",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 236.957,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.19275,
    "h": 276.8
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#6A71F4
secondary
#F1EFC8
accent
#D703E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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