#6F71EB#6F71EB

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

Color values

HEX#6F71EB
RGBrgb(111, 113, 235)
HSLhsl(239, 76%, 68%)
HSVhsv(239, 53%, 92%)
CMYKcmyk(52.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(53.15, 32.43, -62.16)
CIE-LCHlch(53.15, 70.11, 297.56°)
OKLaboklab(60.9% 0.0279 -0.1776)
OKLCHoklch(60.9% 0.18 278.9)
XYZxyz(27.4514, 21.1862, 81.2240)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F71EB #EBE96F
analogous
#6FAFEB #6F71EB #AB6FEB
triadic
#6F71EB #EB6F71 #71EB6F
tetradic
#6F71EB #EB6FAF #EBE96F #6FEBAB
square
#6F71EB #EB6FAF #EBE96F #6FEBAB
split-complementary
#6F71EB #EBAB6F #AFEB6F
monochromatic
#1B1EC4 #393CE4 #6F71EB #A5A6F2 #DADBFA

Accessibility & contrast

On white

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

On black

5.24
#6F71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F71EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F71EB#FFFFFF#000000##000000
##6F71EB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#1B7AE8
Tritanopia (blue-blind)
#378CA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f71eb;
/* rgb */ color: rgb(111, 113, 235);
/* oklch */ color: oklch(60.9% 0.180 278.9);
Tailwind
colors: {
  custom: {
    50: '#a199f2',
    500: '#6f71eb',
    950: '#000000',
  },
}
SCSS
$custom: #6f71eb;
$custom-light: #a199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f71eb",
  "rgb": {
    "r": 111,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 239.032,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.17976,
    "h": 278.9
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#6F71EB
secondary
#EEEDC8
accent
#D50ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6F71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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