#7071EF#7071EF

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

Color values

HEX#7071EF
RGBrgb(112, 113, 239)
HSLhsl(240, 80%, 69%)
HSVhsv(240, 53%, 94%)
CMYKcmyk(53.1%, 52.7%, 0%, 6.3%)
CIE-LABlab(53.48, 33.87, -63.87)
CIE-LCHlch(53.48, 72.29, 297.94°)
OKLaboklab(61.24% 0.0292 -0.1826)
OKLCHoklch(61.24% 0.185 279.1)
XYZxyz(28.1623, 21.4852, 84.3077)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7071EF #EFEE70
analogous
#70B1EF #7071EF #AF70EF
triadic
#7071EF #EF7071 #71EF70
tetradic
#7071EF #EF70B1 #EFEE70 #70EFAF
square
#7071EF #EF70B1 #EFEE70 #70EFAF
split-complementary
#7071EF #EFAF70 #B1EF70
monochromatic
#1718CE #393AE9 #7071EF #A7A8F5 #DEDEFB

Accessibility & contrast

On white

3.96
#7071EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7071EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7071EF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7071EF#FFFFFF#000000##000000
##7071EF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F3
Deuteranopia (green-blind)
#0F7BEC
Tritanopia (blue-blind)
#368DA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7071ef;
/* rgb */ color: rgb(112, 113, 239);
/* oklch */ color: oklch(61.2% 0.185 279.1);
Tailwind
colors: {
  custom: {
    50: '#a299f5',
    500: '#7071ef',
    950: '#000000',
  },
}
SCSS
$custom: #7071ef;
$custom-light: #a299f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7071ef",
  "rgb": {
    "r": 112,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 239.528,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.18491,
    "h": 279.1
  },
  "luminance": 0.21487
}

Semantic roles & 50–950 ramp

primary
#7071EF
secondary
#F0F0CB
accent
#DB09DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7071EF

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

Preview Lab → · Contrast checker → · Palette generator →

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