#6C71DA#6C71DA

#6C71DA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.157 H 278.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6C71DA
RGBrgb(108, 113, 218)
HSLhsl(237, 60%, 64%)
HSVhsv(237, 50%, 85%)
CMYKcmyk(50.5%, 48.2%, 0%, 14.5%)
CIE-LABlab(51.90, 26.56, -54.62)
CIE-LCHlch(51.90, 60.73, 295.93°)
OKLaboklab(59.57% 0.0231 -0.1555)
OKLCHoklch(59.57% 0.157 278.4)
XYZxyz(24.7404, 20.0589, 68.8842)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71DA #DAD56C
analogous
#6CA8DA #6C71DA #9E6CDA
triadic
#6C71DA #DA6C71 #71DA6C
tetradic
#6C71DA #DA6CA8 #DAD56C #6CDA9E
square
#6C71DA #DA6CA8 #DAD56C #6CDA9E
split-complementary
#6C71DA #DA9E6C #A8DA6C
monochromatic
#292EA3 #3B42CE #6C71DA #9DA0E6 #CECFF3

Accessibility & contrast

On white

4.19
#6C71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6C71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71DA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71DA#FFFFFF#000000##000000
##6C71DA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#3678D8
Tritanopia (blue-blind)
#3F889B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c71da;
/* rgb */ color: rgb(108, 113, 218);
/* oklch */ color: oklch(59.6% 0.157 278.4);
Tailwind
colors: {
  custom: {
    50: '#9d99e6',
    500: '#6c71da',
    950: '#000000',
  },
}
SCSS
$custom: #6c71da;
$custom-light: #9d99e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71da",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 237.273,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.15719,
    "h": 278.4
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#6C71DA
secondary
#E4E2BE
accent
#C01EC7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6C71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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