#6B71F4#6B71F4

#6B71F4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.2% C 0.193 H 277.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6B71F4
RGBrgb(107, 113, 244)
HSLhsl(237, 86%, 69%)
HSVhsv(237, 56%, 96%)
CMYKcmyk(56.1%, 53.7%, 0%, 4.3%)
CIE-LABlab(53.46, 34.47, -66.70)
CIE-LCHlch(53.46, 75.08, 297.33°)
OKLaboklab(61.24% 0.0238 -0.1911)
OKLCHoklch(61.24% 0.193 277.1)
XYZxyz(28.2924, 21.4657, 88.2228)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71F4 #F4EE6B
analogous
#6BB6F4 #6B71F4 #AA6BF4
triadic
#6B71F4 #F46B71 #71F46B
tetradic
#6B71F4 #F46BB6 #F4EE6B #6BF4AA
square
#6B71F4 #F46BB6 #F4EE6B #6BF4AA
split-complementary
#6B71F4 #F4AA6B #B6F46B
monochromatic
#1018D5 #323AF0 #6B71F4 #A4A8F8 #DDDEFC

Accessibility & contrast

On white

3.97
#6B71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6B71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71F4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71F4#FFFFFF#000000##000000
##6B71F41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B85F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#1A8FA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b71f4;
/* rgb */ color: rgb(107, 113, 244);
/* oklch */ color: oklch(61.2% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#a099f9',
    500: '#6b71f4',
    950: '#000000',
  },
}
SCSS
$custom: #6b71f4;
$custom-light: #a099f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71f4",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 237.372,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.19254,
    "h": 277.1
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#6B71F4
secondary
#F2F0C9
accent
#D903E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6B71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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