#6C71EF#6C71EF

#6C71EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.0% C 0.186 H 277.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6C71EF
RGBrgb(108, 113, 239)
HSLhsl(238, 80%, 68%)
HSVhsv(238, 55%, 94%)
CMYKcmyk(54.8%, 52.7%, 0%, 6.3%)
CIE-LABlab(53.20, 33.09, -64.33)
CIE-LCHlch(53.20, 72.34, 297.22°)
OKLaboklab(60.96% 0.0247 -0.184)
OKLCHoklch(60.96% 0.186 277.6)
XYZxyz(27.6645, 21.2285, 84.2844)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71EF #EFEA6C
analogous
#6CB2EF #6C71EF #A86CEF
triadic
#6C71EF #EF6C71 #71EF6C
tetradic
#6C71EF #EF6CB2 #EFEA6C #6CEFA8
square
#6C71EF #EF6CB2 #EFEA6C #6CEFA8
split-complementary
#6C71EF #EFA86C #B2EF6C
monochromatic
#161DCB #353CE9 #6C71EF #A3A6F5 #DADCFB

Accessibility & contrast

On white

4.00
#6C71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6C71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71EF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71EF#FFFFFF#000000##000000
##6C71EF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F3
Deuteranopia (green-blind)
#017AEC
Tritanopia (blue-blind)
#288EA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6c71ef;
/* rgb */ color: rgb(108, 113, 239);
/* oklch */ color: oklch(61.0% 0.186 277.6);
Tailwind
colors: {
  custom: {
    50: '#a099f5',
    500: '#6c71ef',
    950: '#000000',
  },
}
SCSS
$custom: #6c71ef;
$custom-light: #a099f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71ef",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 237.71,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6096,
    "c": 0.1857,
    "h": 277.6
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

primary
#6C71EF
secondary
#EFEEC7
accent
#D509DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6C71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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