#6D71EB#6D71EB

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

Color values

HEX#6D71EB
RGBrgb(109, 113, 235)
HSLhsl(238, 76%, 67%)
HSVhsv(238, 54%, 92%)
CMYKcmyk(53.6%, 51.9%, 0%, 7.8%)
CIE-LABlab(53.01, 32.03, -62.39)
CIE-LCHlch(53.01, 70.13, 297.18°)
OKLaboklab(60.76% 0.0256 -0.1783)
OKLCHoklch(60.76% 0.18 278.2)
XYZxyz(27.2025, 21.0579, 81.2123)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D71EB #EBE76D
analogous
#6DB0EB #6D71EB #A86DEB
triadic
#6D71EB #EB6D71 #71EB6D
tetradic
#6D71EB #EB6DB0 #EBE76D #6DEBA8
square
#6D71EB #EB6DB0 #EBE76D #6DEBA8
split-complementary
#6D71EB #EBA86D #B0EB6D
monochromatic
#1B20C3 #373DE4 #6D71EB #A3A5F2 #D9DAFA

Accessibility & contrast

On white

4.03
#6D71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6D71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D71EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D71EB#FFFFFF#000000##000000
##6D71EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#187AE8
Tritanopia (blue-blind)
#318DA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6d71eb;
/* rgb */ color: rgb(109, 113, 235);
/* oklch */ color: oklch(60.8% 0.180 278.2);
Tailwind
colors: {
  custom: {
    50: '#a099f2',
    500: '#6d71eb',
    950: '#000000',
  },
}
SCSS
$custom: #6d71eb;
$custom-light: #a099f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d71eb",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 238.095,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.18015,
    "h": 278.2
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#6D71EB
secondary
#EEECC6
accent
#D20DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6D71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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