#6B71A2#6B71A2

#6B71A2 is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.3% C 0.076 H 278.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6B71A2
RGBrgb(107, 113, 162)
HSLhsl(233, 23%, 53%)
HSVhsv(233, 34%, 64%)
CMYKcmyk(34%, 30.2%, 0%, 36.5%)
CIE-LABlab(48.94, 9.80, -27.08)
CIE-LCHlch(48.94, 28.80, 289.89°)
OKLaboklab(56.34% 0.011 -0.0753)
OKLCHoklch(56.34% 0.076 278.3)
XYZxyz(18.4883, 17.5441, 36.5876)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71A2 #A29C6B
analogous
#6B8CA2 #6B71A2 #816BA2
triadic
#6B71A2 #A26B71 #71A26B
tetradic
#6B71A2 #A26B8C #A29C6B #6BA281
square
#6B71A2 #A26B8C #A29C6B #6BA281
split-complementary
#6B71A2 #A2816B #8CA26B
monochromatic
#393C5A #505580 #6B71A2 #9195BA #B6B9D1

Accessibility & contrast

On white

4.66
#6B71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6B71A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B71A2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71A2#FFFFFF#000000##FFFFFF
##6B71A21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6276A4
Deuteranopia (green-blind)
#5F72A1
Tritanopia (blue-blind)
#5C7A82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b71a2;
/* rgb */ color: rgb(107, 113, 162);
/* oklch */ color: oklch(56.3% 0.076 278.3);
Tailwind
colors: {
  custom: {
    50: '#9799bd',
    500: '#6b71a2',
    950: '#000000',
  },
}
SCSS
$custom: #6b71a2;
$custom-light: #9799bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71a2",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 233.455,
    "s": 22.822,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.0761,
    "h": 278.3
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#6B71A2
secondary
#C0BEA8
accent
#B668BF
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6B71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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