#6A71CB#6A71CB

#6A71CB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.137 H 277.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6A71CB
RGBrgb(106, 113, 203)
HSLhsl(236, 48%, 61%)
HSVhsv(236, 48%, 80%)
CMYKcmyk(47.8%, 44.3%, 0%, 20.4%)
CIE-LABlab(50.90, 21.50, -47.70)
CIE-LCHlch(50.90, 52.32, 294.26°)
OKLaboklab(58.5% 0.0188 -0.1352)
OKLCHoklch(58.5% 0.137 277.9)
XYZxyz(22.6252, 19.1850, 58.9992)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71CB #CBC46A
analogous
#6AA1CB #6A71CB #936ACB
triadic
#6A71CB #CB6A71 #71CB6A
tetradic
#6A71CB #CB6AA1 #CBC46A #6ACB93
square
#6A71CB #CB6AA1 #CBC46A #6ACB93
split-complementary
#6A71CB #CB936A #A1CB6A
monochromatic
#30378A #4049B8 #6A71CB #979CDB #C5C7EB

Accessibility & contrast

On white

4.34
#6A71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#6A71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71CB#FFFFFF#000000##000000
##6A71CB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#468494
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6a71cb;
/* rgb */ color: rgb(106, 113, 203);
/* oklch */ color: oklch(58.5% 0.137 277.9);
Tailwind
colors: {
  custom: {
    50: '#9a99db',
    500: '#6a71cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a71cb;
$custom-light: #9a99db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71cb",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 235.67,
    "s": 48.259,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.13656,
    "h": 277.9
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#6A71CB
secondary
#DBD8B6
accent
#B12ABC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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