#7072EC#7072EC

#7072EC is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.2% C 0.180 H 279.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7072EC
RGBrgb(112, 114, 236)
HSLhsl(239, 77%, 68%)
HSVhsv(239, 53%, 93%)
CMYKcmyk(52.5%, 51.7%, 0%, 7.5%)
CIE-LABlab(53.53, 32.34, -62.11)
CIE-LCHlch(53.53, 70.03, 297.51°)
OKLaboklab(61.22% 0.028 -0.1774)
OKLCHoklch(61.22% 0.18 279)
XYZxyz(27.8350, 21.5338, 82.0303)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7072EC #ECEA70
analogous
#70B0EC #7072EC #AC70EC
triadic
#7072EC #EC7072 #72EC70
tetradic
#7072EC #EC70B0 #ECEA70 #70ECAC
square
#7072EC #EC70B0 #ECEA70 #70ECAC
split-complementary
#7072EC #ECAC70 #B0EC70
monochromatic
#1A1DC7 #3A3DE5 #7072EC #A6A7F3 #DCDDFA

Accessibility & contrast

On white

3.96
#7072EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7072EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7072EC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7072EC#FFFFFF#000000##000000
##7072EC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#398DA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7072ec;
/* rgb */ color: rgb(112, 114, 236);
/* oklch */ color: oklch(61.2% 0.180 279.0);
Tailwind
colors: {
  custom: {
    50: '#a29af3',
    500: '#7072ec',
    950: '#000000',
  },
}
SCSS
$custom: #7072ec;
$custom-light: #a29af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7072ec",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 239.032,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.17961,
    "h": 279
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7072EC

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

Preview Lab → · Contrast checker → · Palette generator →

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