#7071EA#7071EA

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

Color values

HEX#7071EA
RGBrgb(112, 113, 234)
HSLhsl(240, 74%, 68%)
HSVhsv(240, 52%, 92%)
CMYKcmyk(52.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(53.16, 32.33, -61.58)
CIE-LCHlch(53.16, 69.55, 297.70°)
OKLaboklab(60.9% 0.029 -0.1759)
OKLCHoklch(60.9% 0.178 279.3)
XYZxyz(27.4339, 21.1938, 80.4712)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7071EA #EAE970
analogous
#70AEEA #7071EA #AC70EA
triadic
#7071EA #EA7071 #71EA70
tetradic
#7071EA #EA70AE #EAE970 #70EAAC
square
#7071EA #EA70AE #EAE970 #70EAAC
split-complementary
#7071EA #EAAC70 #AEEA70
monochromatic
#1D1EC3 #3B3CE2 #7071EA #A5A6F2 #DBDBFA

Accessibility & contrast

On white

4.01
#7071EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7071EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7071EA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7071EA#FFFFFF#000000##000000
##7071EA1.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)
#3084EE
Deuteranopia (green-blind)
#1F7AE7
Tritanopia (blue-blind)
#3B8CA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7071ea;
/* rgb */ color: rgb(112, 113, 234);
/* oklch */ color: oklch(60.9% 0.178 279.3);
Tailwind
colors: {
  custom: {
    50: '#a199f1',
    500: '#7071ea',
    950: '#000000',
  },
}
SCSS
$custom: #7071ea;
$custom-light: #a199f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7071ea",
  "rgb": {
    "r": 112,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 239.508,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60902,
    "c": 0.17824,
    "h": 279.3
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#7071EA
secondary
#EEEDC8
accent
#D50FD7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7071EA

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

Preview Lab → · Contrast checker → · Palette generator →

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