#6B71CF#6B71CF

#6B71CF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.142 H 278.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6B71CF
RGBrgb(107, 113, 207)
HSLhsl(236, 51%, 62%)
HSVhsv(236, 48%, 81%)
CMYKcmyk(48.3%, 45.4%, 0%, 18.8%)
CIE-LABlab(51.20, 22.96, -49.51)
CIE-LCHlch(51.20, 54.57, 294.88°)
OKLaboklab(58.81% 0.0206 -0.1405)
OKLCHoklch(58.81% 0.142 278.3)
XYZxyz(23.2276, 19.4398, 61.5477)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71CF #CFC96B
analogous
#6BA3CF #6B71CF #976BCF
triadic
#6B71CF #CF6B71 #71CF6B
tetradic
#6B71CF #CF6BA3 #CFC96B #6BCF97
square
#6B71CF #CF6BA3 #CFC96B #6BCF97
split-complementary
#6B71CF #CF976B #A3CF6B
monochromatic
#2F3591 #3E46BF #6B71CF #999DDE #C7CAED

Accessibility & contrast

On white

4.30
#6B71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6B71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71CF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71CF#FFFFFF#000000##000000
##6B71CF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#4276CD
Tritanopia (blue-blind)
#458596
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b71cf;
/* rgb */ color: rgb(107, 113, 207);
/* oklch */ color: oklch(58.8% 0.142 278.3);
Tailwind
colors: {
  custom: {
    50: '#9b99de',
    500: '#6b71cf',
    950: '#000000',
  },
}
SCSS
$custom: #6b71cf;
$custom-light: #9b99de;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71cf",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 236.4,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.14202,
    "h": 278.3
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#6B71CF
secondary
#DEDBB8
accent
#B527BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0F0E15
muted
#7E7E83

Preview Lab

Preview with #6B71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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