#6C71CE#6C71CE

#6C71CE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.140 H 278.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6C71CE
RGBrgb(108, 113, 206)
HSLhsl(237, 50%, 62%)
HSVhsv(237, 48%, 81%)
CMYKcmyk(47.6%, 45.1%, 0%, 19.2%)
CIE-LABlab(51.21, 22.88, -48.91)
CIE-LCHlch(51.21, 54.00, 295.07°)
OKLaboklab(58.83% 0.0215 -0.1388)
OKLCHoklch(58.83% 0.14 278.8)
XYZxyz(23.2266, 19.4534, 60.9116)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71CE #CEC96C
analogous
#6CA2CE #6C71CE #986CCE
triadic
#6C71CE #CE6C71 #71CE6C
tetradic
#6C71CE #CE6CA2 #CEC96C #6CCE98
square
#6C71CE #CE6CA2 #CEC96C #6CCE98
split-complementary
#6C71CE #CE986C #A2CE6C
monochromatic
#303590 #3F46BE #6C71CE #9A9DDD #C8CAED

Accessibility & contrast

On white

4.29
#6C71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6C71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71CE#FFFFFF#000000##000000
##6C71CE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#488595
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c71ce;
/* rgb */ color: rgb(108, 113, 206);
/* oklch */ color: oklch(58.8% 0.140 278.8);
Tailwind
colors: {
  custom: {
    50: '#9c99dd',
    500: '#6c71ce',
    950: '#000000',
  },
}
SCSS
$custom: #6c71ce;
$custom-light: #9c99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71ce",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 236.939,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.14041,
    "h": 278.8
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#6C71CE
secondary
#DDDBB9
accent
#B628BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0F0E15
muted
#7E7E83

Preview Lab

Preview with #6C71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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