#7072EB#7072EB

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

Color values

HEX#7072EB
RGBrgb(112, 114, 235)
HSLhsl(239, 75%, 68%)
HSVhsv(239, 52%, 92%)
CMYKcmyk(52.3%, 51.5%, 0%, 7.8%)
CIE-LABlab(53.47, 32.04, -61.65)
CIE-LCHlch(53.47, 69.48, 297.46°)
OKLaboklab(61.15% 0.0279 -0.1761)
OKLCHoklch(61.15% 0.178 279)
XYZxyz(27.6901, 21.4758, 81.2673)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7072EB #EBE970
analogous
#70B0EB #7072EB #AB70EB
triadic
#7072EB #EB7072 #72EB70
tetradic
#7072EB #EB70B0 #EBE970 #70EBAB
square
#7072EB #EB70B0 #EBE970 #70EBAB
split-complementary
#7072EB #EBAB70 #B0EB70
monochromatic
#1C1EC5 #3A3DE3 #7072EB #A6A7F3 #DBDCFA

Accessibility & contrast

On white

3.97
#7072EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7072EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7072EB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7072EB#FFFFFF#000000##000000
##7072EB1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#3A8DA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7072eb;
/* rgb */ color: rgb(112, 114, 235);
/* oklch */ color: oklch(61.2% 0.178 279.0);
Tailwind
colors: {
  custom: {
    50: '#a19af2',
    500: '#7072eb',
    950: '#000000',
  },
}
SCSS
$custom: #7072eb;
$custom-light: #a19af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7072eb",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 239.024,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.17826,
    "h": 279
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#7072EB
secondary
#EEEEC9
accent
#D40ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7072EB

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

Preview Lab → · Contrast checker → · Palette generator →

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