#7071EC#7071EC

#7071EC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.0% C 0.181 H 279.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7071EC
RGBrgb(112, 113, 236)
HSLhsl(240, 77%, 68%)
HSVhsv(240, 53%, 93%)
CMYKcmyk(52.5%, 52.1%, 0%, 7.5%)
CIE-LABlab(53.29, 32.94, -62.50)
CIE-LCHlch(53.29, 70.65, 297.79°)
OKLaboklab(61.04% 0.0291 -0.1786)
OKLCHoklch(61.04% 0.181 279.2)
XYZxyz(27.7228, 21.3094, 81.9929)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7071EC #ECEB70
analogous
#70AFEC #7071EC #AD70EC
triadic
#7071EC #EC7071 #71EC70
tetradic
#7071EC #EC70AF #ECEB70 #70ECAD
square
#7071EC #EC70AF #ECEB70 #70ECAD
split-complementary
#7071EC #ECAD70 #AFEC70
monochromatic
#1A1CC7 #3A3BE5 #7071EC #A6A7F3 #DCDCFA

Accessibility & contrast

On white

3.99
#7071EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7071EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7071EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7071EC#FFFFFF#000000##000000
##7071EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#1A7AE9
Tritanopia (blue-blind)
#398DA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7071ec;
/* rgb */ color: rgb(112, 113, 236);
/* oklch */ color: oklch(61.0% 0.181 279.2);
Tailwind
colors: {
  custom: {
    50: '#a299f3',
    500: '#7071ec',
    950: '#000000',
  },
}
SCSS
$custom: #7071ec;
$custom-light: #a299f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7071ec",
  "rgb": {
    "r": 112,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 239.516,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.18091,
    "h": 279.2
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#7071EC
secondary
#EFEEC9
accent
#D70DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7071EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7071EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva