#7070F5#7070F5

#7070F5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.5% C 0.194 H 279.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7070F5
RGBrgb(112, 112, 245)
HSLhsl(240, 87%, 70%)
HSVhsv(240, 54%, 96%)
CMYKcmyk(54.3%, 54.3%, 0%, 3.9%)
CIE-LABlab(53.63, 36.31, -66.97)
CIE-LCHlch(53.63, 76.18, 298.47°)
OKLaboklab(61.47% 0.0305 -0.1917)
OKLCHoklch(61.47% 0.194 279)
XYZxyz(28.9525, 21.6238, 89.0167)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7070F5 #F5F570
analogous
#70B2F5 #7070F5 #B270F5
triadic
#7070F5 #F57070 #70F570
tetradic
#7070F5 #F570B3 #F5F570 #70F5B3
square
#7070F5 #F570B3 #F5F570 #70F5B3
split-complementary
#7070F5 #F5B370 #B3F570
monochromatic
#0F0FDB #3737F1 #7070F5 #A9A9F9 #E2E2FD

Accessibility & contrast

On white

3.94
#7070F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7070F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7070F5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7070F5#FFFFFF#000000##000000
##7070F51.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1686FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#2E8FA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7070f5;
/* rgb */ color: rgb(112, 112, 245);
/* oklch */ color: oklch(61.5% 0.194 279.0);
Tailwind
colors: {
  custom: {
    50: '#a399f9',
    500: '#7070f5',
    950: '#000000',
  },
}
SCSS
$custom: #7070f5;
$custom-light: #a399f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7070f5",
  "rgb": {
    "r": 112,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.19413,
    "h": 279
  },
  "luminance": 0.21626
}

Semantic roles & 50–950 ramp

primary
#7070F5
secondary
#F3F3CE
accent
#E302E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7070F5

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

Preview Lab → · Contrast checker → · Palette generator →

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