#6B71E2#6B71E2

#6B71E2 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.168 H 277.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6B71E2
RGBrgb(107, 113, 226)
HSLhsl(237, 67%, 65%)
HSVhsv(237, 53%, 89%)
CMYKcmyk(52.7%, 50%, 0%, 11.4%)
CIE-LABlab(52.31, 28.83, -58.47)
CIE-LCHlch(52.31, 65.19, 296.24°)
OKLaboklab(60.02% 0.0227 -0.1668)
OKLCHoklch(60.02% 0.168 277.7)
XYZxyz(25.6917, 20.4254, 74.5255)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71E2 #E2DC6B
analogous
#6BACE2 #6B71E2 #A16BE2
triadic
#6B71E2 #E26B71 #71E26B
tetradic
#6B71E2 #E26BAC #E2DC6B #6BE2A1
square
#6B71E2 #E26BAC #E2DC6B #6BE2A1
split-complementary
#6B71E2 #E2A16B #ACE26B
monochromatic
#232AB0 #3840D8 #6B71E2 #9EA2EC #D1D3F6

Accessibility & contrast

On white

4.13
#6B71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6B71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71E2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71E2#FFFFFF#000000##000000
##6B71E21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#358A9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b71e2;
/* rgb */ color: rgb(107, 113, 226);
/* oklch */ color: oklch(60.0% 0.168 277.7);
Tailwind
colors: {
  custom: {
    50: '#9d99ec',
    500: '#6b71e2',
    950: '#000000',
  },
}
SCSS
$custom: #6b71e2;
$custom-light: #9d99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71e2",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 236.975,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.16839,
    "h": 277.7
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#6B71E2
secondary
#E8E6C0
accent
#C616CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6B71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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