#6C71EA#6C71EA

#6C71EA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.179 H 277.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6C71EA
RGBrgb(108, 113, 234)
HSLhsl(238, 75%, 67%)
HSVhsv(238, 54%, 92%)
CMYKcmyk(53.8%, 51.7%, 0%, 8.2%)
CIE-LABlab(52.88, 31.52, -62.05)
CIE-LCHlch(52.88, 69.60, 296.93°)
OKLaboklab(60.62% 0.0244 -0.1773)
OKLCHoklch(60.62% 0.179 277.8)
XYZxyz(26.9361, 20.9372, 80.4478)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71EA #EAE56C
analogous
#6CB0EA #6C71EA #A66CEA
triadic
#6C71EA #EA6C71 #71EA6C
tetradic
#6C71EA #EA6CB0 #EAE56C #6CEAA6
square
#6C71EA #EA6CB0 #EAE56C #6CEAA6
split-complementary
#6C71EA #EAA66C #B0EA6C
monochromatic
#1B22C0 #363DE2 #6C71EA #A2A5F2 #D7D8F9

Accessibility & contrast

On white

4.05
#6C71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6C71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71EA#FFFFFF#000000##000000
##6C71EA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83EE
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#2F8CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c71ea;
/* rgb */ color: rgb(108, 113, 234);
/* oklch */ color: oklch(60.6% 0.179 277.8);
Tailwind
colors: {
  custom: {
    50: '#9f99f1',
    500: '#6c71ea',
    950: '#000000',
  },
}
SCSS
$custom: #6c71ea;
$custom-light: #9f99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71ea",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 237.619,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.17901,
    "h": 277.8
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#6C71EA
secondary
#EDEBC5
accent
#CF0ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6C71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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