#6C71CB#6C71CB

#6C71CB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.136 H 278.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C71CB
RGBrgb(108, 113, 203)
HSLhsl(237, 48%, 61%)
HSVhsv(237, 47%, 80%)
CMYKcmyk(46.8%, 44.3%, 0%, 20.4%)
CIE-LABlab(51.05, 21.98, -47.46)
CIE-LCHlch(51.05, 52.30, 294.84°)
OKLaboklab(58.64% 0.0211 -0.1345)
OKLCHoklch(58.64% 0.136 278.9)
XYZxyz(22.8657, 19.3090, 59.0105)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71CB #CBC66C
analogous
#6CA0CB #6C71CB #966CCB
triadic
#6C71CB #CB6C71 #71CB6C
tetradic
#6C71CB #CB6CA0 #CBC66C #6CCB96
square
#6C71CB #CB6CA0 #CBC66C #6CCB96
split-complementary
#6C71CB #CB966C #A0CB6C
monochromatic
#31368B #4148B9 #6C71CB #999DDB #C6C8EB

Accessibility & contrast

On white

4.32
#6C71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6C71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71CB#FFFFFF#000000##000000
##6C71CB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#4A8494
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c71cb;
/* rgb */ color: rgb(108, 113, 203);
/* oklch */ color: oklch(58.6% 0.136 278.9);
Tailwind
colors: {
  custom: {
    50: '#9b99db',
    500: '#6c71cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c71cb;
$custom-light: #9b99db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71cb",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 236.842,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58644,
    "c": 0.13615,
    "h": 278.9
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#6C71CB
secondary
#DBD9B7
accent
#B32ABB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0F0E15
muted
#7E7E83

Preview Lab

Preview with #6C71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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