#6B71EF#6B71EF

#6B71EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.186 H 277.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6B71EF
RGBrgb(107, 113, 239)
HSLhsl(237, 80%, 68%)
HSVhsv(237, 55%, 94%)
CMYKcmyk(55.2%, 52.7%, 0%, 6.3%)
CIE-LABlab(53.13, 32.90, -64.44)
CIE-LCHlch(53.13, 72.35, 297.04°)
OKLaboklab(60.89% 0.0236 -0.1844)
OKLCHoklch(60.89% 0.186 277.3)
XYZxyz(27.5436, 21.1662, 84.2787)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71EF #EFE96B
analogous
#6BB3EF #6B71EF #A76BEF
triadic
#6B71EF #EF6B71 #71EF6B
tetradic
#6B71EF #EF6BB3 #EFE96B #6BEFA7
square
#6B71EF #EF6BB3 #EFE96B #6BEFA7
split-complementary
#6B71EF #EFA76B #B3EF6B
monochromatic
#161ECA #343CE9 #6B71EF #A2A6F5 #D9DBFB

Accessibility & contrast

On white

4.01
#6B71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6B71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71EF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71EF#FFFFFF#000000##000000
##6B71EF1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F3
Deuteranopia (green-blind)
#007AEC
Tritanopia (blue-blind)
#248EA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b71ef;
/* rgb */ color: rgb(107, 113, 239);
/* oklch */ color: oklch(60.9% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#9f99f5',
    500: '#6b71ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b71ef;
$custom-light: #9f99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71ef",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 237.273,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.18591,
    "h": 277.3
  },
  "luminance": 0.21168
}

Semantic roles & 50–950 ramp

primary
#6B71EF
secondary
#EFEDC7
accent
#D309DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6B71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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