#6C71D8#6C71D8

#6C71D8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.4% C 0.154 H 278.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6C71D8
RGBrgb(108, 113, 216)
HSLhsl(237, 58%, 64%)
HSVhsv(237, 50%, 85%)
CMYKcmyk(50%, 47.7%, 0%, 15.3%)
CIE-LABlab(51.79, 25.94, -53.67)
CIE-LCHlch(51.79, 59.61, 295.80°)
OKLaboklab(59.44% 0.0228 -0.1527)
OKLCHoklch(59.44% 0.154 278.5)
XYZxyz(24.4803, 19.9549, 67.5142)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71D8 #D8D36C
analogous
#6CA7D8 #6C71D8 #9D6CD8
triadic
#6C71D8 #D86C71 #71D86C
tetradic
#6C71D8 #D86CA7 #D8D36C #6CD89D
square
#6C71D8 #D86CA7 #D8D36C #6CD89D
split-complementary
#6C71D8 #D89D6C #A7D86C
monochromatic
#2A309F #3C42CB #6C71D8 #9CA0E5 #CDCEF2

Accessibility & contrast

On white

4.21
#6C71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6C71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71D8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71D8#FFFFFF#000000##000000
##6C71D81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DC
Deuteranopia (green-blind)
#3977D6
Tritanopia (blue-blind)
#41879A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c71d8;
/* rgb */ color: rgb(108, 113, 216);
/* oklch */ color: oklch(59.4% 0.154 278.5);
Tailwind
colors: {
  custom: {
    50: '#9d99e5',
    500: '#6c71d8',
    950: '#000000',
  },
}
SCSS
$custom: #6c71d8;
$custom-light: #9d99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71d8",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 237.222,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.15442,
    "h": 278.5
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#6C71D8
secondary
#E3E1BD
accent
#BE20C6
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6C71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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