#6F71EF#6F71EF

#6F71EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.185 H 278.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6F71EF
RGBrgb(111, 113, 239)
HSLhsl(239, 80%, 69%)
HSVhsv(239, 54%, 94%)
CMYKcmyk(53.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(53.41, 33.67, -63.98)
CIE-LCHlch(53.41, 72.30, 297.75°)
OKLaboklab(61.17% 0.0281 -0.183)
OKLCHoklch(61.17% 0.185 278.7)
XYZxyz(28.0358, 21.4200, 84.3018)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F71EF #EFED6F
analogous
#6FB1EF #6F71EF #AD6FEF
triadic
#6F71EF #EF6F71 #71EF6F
tetradic
#6F71EF #EF6FB1 #EFED6F #6FEFAD
square
#6F71EF #EF6FB1 #EFED6F #6FEFAD
split-complementary
#6F71EF #EFAD6F #B1EF6F
monochromatic
#171ACD #383BE9 #6F71EF #A6A7F5 #DDDEFB

Accessibility & contrast

On white

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

On black

5.28
#6F71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F71EF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F71EF#FFFFFF#000000##000000
##6F71EF1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F3
Deuteranopia (green-blind)
#0C7BEC
Tritanopia (blue-blind)
#338EA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f71ef;
/* rgb */ color: rgb(111, 113, 239);
/* oklch */ color: oklch(61.2% 0.185 278.7);
Tailwind
colors: {
  custom: {
    50: '#a199f5',
    500: '#6f71ef',
    950: '#000000',
  },
}
SCSS
$custom: #6f71ef;
$custom-light: #a199f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f71ef",
  "rgb": {
    "r": 111,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 239.063,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.18511,
    "h": 278.7
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#6F71EF
secondary
#F0EFCA
accent
#D909DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6F71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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