#6B71EC#6B71EC

#6B71EC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.7% C 0.182 H 277.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6B71EC
RGBrgb(107, 113, 236)
HSLhsl(237, 77%, 67%)
HSVhsv(237, 55%, 93%)
CMYKcmyk(54.7%, 52.1%, 0%, 7.5%)
CIE-LABlab(52.94, 31.95, -63.08)
CIE-LCHlch(52.94, 70.71, 296.87°)
OKLaboklab(60.69% 0.0234 -0.1804)
OKLCHoklch(60.69% 0.182 277.4)
XYZxyz(27.1040, 20.9904, 81.9639)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71EC #ECE66B
analogous
#6BB2EC #6B71EC #A56BEC
triadic
#6B71EC #EC6B71 #71EC6B
tetradic
#6B71EC #EC6BB2 #ECE66B #6BECA5
square
#6B71EC #EC6BB2 #ECE66B #6BECA5
split-complementary
#6B71EC #ECA56B #B2EC6B
monochromatic
#1921C4 #353DE5 #6B71EC #A1A5F3 #D7D9FA

Accessibility & contrast

On white

4.04
#6B71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6B71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71EC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71EC#FFFFFF#000000##000000
##6B71EC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#0F79E9
Tritanopia (blue-blind)
#298DA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b71ec;
/* rgb */ color: rgb(107, 113, 236);
/* oklch */ color: oklch(60.7% 0.182 277.4);
Tailwind
colors: {
  custom: {
    50: '#9f99f3',
    500: '#6b71ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b71ec;
$custom-light: #9f99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71ec",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 237.209,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.18191,
    "h": 277.4
  },
  "luminance": 0.20992
}

Semantic roles & 50–950 ramp

primary
#6B71EC
secondary
#EEECC5
accent
#D00CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6B71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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