#6B71EB#6B71EB

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

Color values

HEX#6B71EB
RGBrgb(107, 113, 235)
HSLhsl(237, 76%, 67%)
HSVhsv(237, 54%, 92%)
CMYKcmyk(54.5%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.88, 31.64, -62.62)
CIE-LCHlch(52.88, 70.16, 296.81°)
OKLaboklab(60.62% 0.0234 -0.179)
OKLCHoklch(60.62% 0.181 277.4)
XYZxyz(26.9592, 20.9324, 81.2009)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71EB #EBE56B
analogous
#6BB1EB #6B71EB #A56BEB
triadic
#6B71EB #EB6B71 #71EB6B
tetradic
#6B71EB #EB6BB1 #EBE56B #6BEBA5
square
#6B71EB #EB6BB1 #EBE56B #6BEBA5
split-complementary
#6B71EB #EBA56B #B1EB6B
monochromatic
#1A22C1 #353DE4 #6B71EB #A1A5F2 #D7D8FA

Accessibility & contrast

On white

4.05
#6B71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6B71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71EB#FFFFFF#000000##000000
##6B71EB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#1379E8
Tritanopia (blue-blind)
#2A8DA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b71eb;
/* rgb */ color: rgb(107, 113, 235);
/* oklch */ color: oklch(60.6% 0.181 277.4);
Tailwind
colors: {
  custom: {
    50: '#9f99f2',
    500: '#6b71eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b71eb;
$custom-light: #9f99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71eb",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 237.188,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.18056,
    "h": 277.4
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#6B71EB
secondary
#EDEBC5
accent
#CF0DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6B71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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