#6D71E5#6D71E5

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

Color values

HEX#6D71E5
RGBrgb(109, 113, 229)
HSLhsl(238, 70%, 66%)
HSVhsv(238, 52%, 90%)
CMYKcmyk(52.4%, 50.7%, 0%, 10.2%)
CIE-LABlab(52.64, 30.17, -59.63)
CIE-LCHlch(52.64, 66.83, 296.84°)
OKLaboklab(60.36% 0.0252 -0.1702)
OKLCHoklch(60.36% 0.172 278.4)
XYZxyz(26.3502, 20.7170, 76.7238)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D71E5 #E5E16D
analogous
#6DADE5 #6D71E5 #A56DE5
triadic
#6D71E5 #E56D71 #71E56D
tetradic
#6D71E5 #E56DAD #E5E16D #6DE5A5
square
#6D71E5 #E56DAD #E5E16D #6DE5A5
split-complementary
#6D71E5 #E5A56D #ADE56D
monochromatic
#2126B7 #393EDC #6D71E5 #A1A4EE #D5D6F8

Accessibility & contrast

On white

4.08
#6D71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D71E5#FFFFFF#000000##000000
##6D71E51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#388BA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d71e5;
/* rgb */ color: rgb(109, 113, 229);
/* oklch */ color: oklch(60.4% 0.172 278.4);
Tailwind
colors: {
  custom: {
    50: '#9f99ee',
    500: '#6d71e5',
    950: '#000000',
  },
}
SCSS
$custom: #6d71e5;
$custom-light: #9f99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d71e5",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 238,
    "s": 69.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.17207,
    "h": 278.4
  },
  "luminance": 0.20719
}

Semantic roles & 50–950 ramp

primary
#6D71E5
secondary
#EAE9C3
accent
#CB14D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6D71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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