#6C71F5#6C71F5

#6C71F5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.4% C 0.194 H 277.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C71F5
RGBrgb(108, 113, 245)
HSLhsl(238, 87%, 69%)
HSVhsv(238, 56%, 96%)
CMYKcmyk(55.9%, 53.9%, 0%, 3.9%)
CIE-LABlab(53.59, 34.97, -67.04)
CIE-LCHlch(53.59, 75.61, 297.55°)
OKLaboklab(61.38% 0.025 -0.192)
OKLCHoklch(61.38% 0.194 277.4)
XYZxyz(28.5656, 21.5890, 89.0303)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71F5 #F5F06C
analogous
#6CB6F5 #6C71F5 #AC6CF5
triadic
#6C71F5 #F56C71 #71F56C
tetradic
#6C71F5 #F56CB6 #F5F06C #6CF5AC
square
#6C71F5 #F56CB6 #F5F06C #6CF5AC
split-complementary
#6C71F5 #F5AC6C #B6F56C
monochromatic
#0F16D8 #333AF1 #6C71F5 #A5A8F9 #DFE0FD

Accessibility & contrast

On white

3.95
#6C71F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6C71F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71F5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71F5#FFFFFF#000000##000000
##6C71F51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1986FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#1D8FA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c71f5;
/* rgb */ color: rgb(108, 113, 245);
/* oklch */ color: oklch(61.4% 0.194 277.4);
Tailwind
colors: {
  custom: {
    50: '#a199f9',
    500: '#6c71f5',
    950: '#000000',
  },
}
SCSS
$custom: #6c71f5;
$custom-light: #a199f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71f5",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 237.81,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.19365,
    "h": 277.4
  },
  "luminance": 0.21591
}

Semantic roles & 50–950 ramp

primary
#6C71F5
secondary
#F2F1CA
accent
#DC02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6C71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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