#6B71EA#6B71EA

#6B71EA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.179 H 277.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6B71EA
RGBrgb(107, 113, 234)
HSLhsl(237, 75%, 67%)
HSVhsv(237, 54%, 92%)
CMYKcmyk(54.3%, 51.7%, 0%, 8.2%)
CIE-LABlab(52.81, 31.33, -62.16)
CIE-LCHlch(52.81, 69.61, 296.75°)
OKLaboklab(60.55% 0.0233 -0.1777)
OKLCHoklch(60.55% 0.179 277.5)
XYZxyz(26.8151, 20.8748, 80.4422)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71EA #EAE46B
analogous
#6BB1EA #6B71EA #A46BEA
triadic
#6B71EA #EA6B71 #71EA6B
tetradic
#6B71EA #EA6BB1 #EAE46B #6BEAA4
square
#6B71EA #EA6BB1 #EAE46B #6BEAA4
split-complementary
#6B71EA #EAA46B #B1EA6B
monochromatic
#1B23BF #353EE2 #6B71EA #A1A4F2 #D6D8F9

Accessibility & contrast

On white

4.06
#6B71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6B71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71EA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71EA#FFFFFF#000000##000000
##6B71EA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#1779E7
Tritanopia (blue-blind)
#2C8CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b71ea;
/* rgb */ color: rgb(107, 113, 234);
/* oklch */ color: oklch(60.6% 0.179 277.5);
Tailwind
colors: {
  custom: {
    50: '#9e99f1',
    500: '#6b71ea',
    950: '#000000',
  },
}
SCSS
$custom: #6b71ea;
$custom-light: #9e99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71ea",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 237.165,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.17922,
    "h": 277.5
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#6B71EA
secondary
#EDEBC4
accent
#CE0ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6B71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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