#6C71EB#6C71EB

#6C71EB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.7% C 0.180 H 277.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6C71EB
RGBrgb(108, 113, 235)
HSLhsl(238, 76%, 67%)
HSVhsv(238, 54%, 92%)
CMYKcmyk(54%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.94, 31.84, -62.50)
CIE-LCHlch(52.94, 70.15, 296.99°)
OKLaboklab(60.69% 0.0245 -0.1787)
OKLCHoklch(60.69% 0.18 277.8)
XYZxyz(27.0801, 20.9948, 81.2066)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71EB #EBE66C
analogous
#6CB0EB #6C71EB #A76CEB
triadic
#6C71EB #EB6C71 #71EB6C
tetradic
#6C71EB #EB6CB0 #EBE66C #6CEBA7
square
#6C71EB #EB6CB0 #EBE66C #6CEBA7
split-complementary
#6C71EB #EBA76C #B0EB6C
monochromatic
#1A21C2 #363DE4 #6C71EB #A2A5F2 #D8D9FA

Accessibility & contrast

On white

4.04
#6C71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6C71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71EB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71EB#FFFFFF#000000##000000
##6C71EB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#2E8DA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c71eb;
/* rgb */ color: rgb(108, 113, 235);
/* oklch */ color: oklch(60.7% 0.180 277.8);
Tailwind
colors: {
  custom: {
    50: '#9f99f2',
    500: '#6c71eb',
    950: '#000000',
  },
}
SCSS
$custom: #6c71eb;
$custom-light: #9f99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71eb",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 237.638,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.18035,
    "h": 277.8
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#6C71EB
secondary
#EDECC5
accent
#D00DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6C71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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