#7070E8#7070E8

#7070E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.177 H 279.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7070E8
RGBrgb(112, 112, 232)
HSLhsl(240, 72%, 67%)
HSVhsv(240, 52%, 91%)
CMYKcmyk(51.7%, 51.7%, 0%, 9%)
CIE-LABlab(52.79, 32.31, -61.05)
CIE-LCHlch(52.79, 69.08, 297.89°)
OKLaboklab(60.59% 0.0299 -0.1743)
OKLCHoklch(60.59% 0.177 279.7)
XYZxyz(27.0372, 20.8577, 78.9295)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7070E8 #E8E870
analogous
#70ACE8 #7070E8 #AC70E8
triadic
#7070E8 #E87070 #70E870
tetradic
#7070E8 #E870AC #E8E870 #70E8AC
square
#7070E8 #E870AC #E8E870 #70E8AC
split-complementary
#7070E8 #E8AC70 #ACE870
monochromatic
#1F1FBF #3B3BE0 #7070E8 #A5A5F0 #D9D9F9

Accessibility & contrast

On white

4.06
#7070E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7070E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7070E8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7070E8#FFFFFF#000000##000000
##7070E81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#2179E5
Tritanopia (blue-blind)
#3D8BA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7070e8;
/* rgb */ color: rgb(112, 112, 232);
/* oklch */ color: oklch(60.6% 0.177 279.7);
Tailwind
colors: {
  custom: {
    50: '#a199f0',
    500: '#7070e8',
    950: '#000000',
  },
}
SCSS
$custom: #7070e8;
$custom-light: #a199f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7070e8",
  "rgb": {
    "r": 112,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.17687,
    "h": 279.7
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

primary
#7070E8
secondary
#EDEDC7
accent
#D411D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7070E8

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

Preview Lab → · Contrast checker → · Palette generator →

#7070E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva