#7071F8#7071F8

#7071F8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.197 H 278.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7071F8
RGBrgb(112, 113, 248)
HSLhsl(240, 91%, 71%)
HSVhsv(240, 55%, 97%)
CMYKcmyk(54.8%, 54.4%, 0%, 2.7%)
CIE-LABlab(54.06, 36.65, -67.93)
CIE-LCHlch(54.06, 77.19, 298.35°)
OKLaboklab(61.86% 0.0296 -0.1945)
OKLCHoklch(61.86% 0.197 278.6)
XYZxyz(29.5251, 22.0304, 91.4852)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7071F8 #F8F770
analogous
#70B5F8 #7071F8 #B370F8
triadic
#7071F8 #F87071 #71F870
tetradic
#7071F8 #F870B5 #F8F770 #70F8B3
square
#7071F8 #F870B5 #F8F770 #70F8B3
split-complementary
#7071F8 #F8B370 #B5F870
monochromatic
#0B0DE3 #3637F5 #7071F8 #AAABFB #E2E2FE

Accessibility & contrast

On white

3.88
#7071F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7071F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7071F8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7071F8#FFFFFF#000000##000000
##7071F81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1287FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#2A90AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7071f8;
/* rgb */ color: rgb(112, 113, 248);
/* oklch */ color: oklch(61.9% 0.197 278.6);
Tailwind
colors: {
  custom: {
    50: '#a39afb',
    500: '#7071f8',
    950: '#000000',
  },
}
SCSS
$custom: #7071f8;
$custom-light: #a39afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7071f8",
  "rgb": {
    "r": 112,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 239.559,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.19679,
    "h": 278.6
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#7071F8
secondary
#F4F4CF
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7071F8

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

Preview Lab → · Contrast checker → · Palette generator →

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