#7074E1#7074E1

#7074E1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.162 H 278.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7074E1
RGBrgb(112, 116, 225)
HSLhsl(238, 65%, 66%)
HSVhsv(238, 50%, 88%)
CMYKcmyk(50.2%, 48.4%, 0%, 11.8%)
CIE-LABlab(53.35, 27.77, -56.23)
CIE-LCHlch(53.35, 62.71, 296.28°)
OKLaboklab(60.87% 0.0249 -0.1601)
OKLCHoklch(60.87% 0.162 278.8)
XYZxyz(26.5139, 21.3702, 73.9473)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7074E1 #E1DD70
analogous
#70ACE1 #7074E1 #A470E1
triadic
#7074E1 #E17074 #74E170
tetradic
#7074E1 #E170AC #E1DD70 #70E1A4
square
#7074E1 #E170AC #E1DD70 #70E1A4
split-complementary
#7074E1 #E1A470 #ACE170
monochromatic
#252AB1 #3D43D6 #7074E1 #A3A5EC #D5D6F6

Accessibility & contrast

On white

3.98
#7074E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7074E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7074E1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7074E1#FFFFFF#000000##000000
##7074E11.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#438CA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7074e1;
/* rgb */ color: rgb(112, 116, 225);
/* oklch */ color: oklch(60.9% 0.162 278.8);
Tailwind
colors: {
  custom: {
    50: '#a09ceb',
    500: '#7074e1',
    950: '#000000',
  },
}
SCSS
$custom: #7074e1;
$custom-light: #a09ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#7074e1",
  "rgb": {
    "r": 112,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 237.876,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.16202,
    "h": 278.8
  },
  "luminance": 0.21372
}

Semantic roles & 50–950 ramp

primary
#7074E1
secondary
#E9E8C4
accent
#C718CD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7074E1

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

Preview Lab → · Contrast checker → · Palette generator →

#7074E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva