#6F71EC#6F71EC

#6F71EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.0% C 0.181 H 278.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6F71EC
RGBrgb(111, 113, 236)
HSLhsl(239, 77%, 68%)
HSVhsv(239, 53%, 93%)
CMYKcmyk(53%, 52.1%, 0%, 7.5%)
CIE-LABlab(53.22, 32.74, -62.62)
CIE-LCHlch(53.22, 70.66, 297.61°)
OKLaboklab(60.97% 0.0279 -0.1789)
OKLCHoklch(60.97% 0.181 278.9)
XYZxyz(27.5963, 21.2442, 81.9870)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F71EC #ECEA6F
analogous
#6FAFEC #6F71EC #AB6FEC
triadic
#6F71EC #EC6F71 #71EC6F
tetradic
#6F71EC #EC6FAF #ECEA6F #6FECAB
square
#6F71EC #EC6FAF #ECEA6F #6FECAB
split-complementary
#6F71EC #ECAB6F #AFEC6F
monochromatic
#1A1DC6 #393CE5 #6F71EC #A5A6F3 #DBDCFA

Accessibility & contrast

On white

4.00
#6F71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6F71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F71EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F71EC#FFFFFF#000000##000000
##6F71EC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#187AE9
Tritanopia (blue-blind)
#368DA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f71ec;
/* rgb */ color: rgb(111, 113, 236);
/* oklch */ color: oklch(61.0% 0.181 278.9);
Tailwind
colors: {
  custom: {
    50: '#a199f3',
    500: '#6f71ec',
    950: '#000000',
  },
}
SCSS
$custom: #6f71ec;
$custom-light: #a199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f71ec",
  "rgb": {
    "r": 111,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 239.04,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.1811,
    "h": 278.9
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#6F71EC
secondary
#EFEEC8
accent
#D60DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6F71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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