#7074EA#7074EA

#7074EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.5% C 0.174 H 278.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7074EA
RGBrgb(112, 116, 234)
HSLhsl(238, 74%, 68%)
HSVhsv(238, 52%, 92%)
CMYKcmyk(52.1%, 50.4%, 0%, 8.2%)
CIE-LABlab(53.89, 30.53, -60.40)
CIE-LCHlch(53.89, 67.68, 296.81°)
OKLaboklab(61.45% 0.0257 -0.1724)
OKLCHoklch(61.45% 0.174 278.5)
XYZxyz(27.7741, 21.8743, 80.5846)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7074EA #EAE670
analogous
#70B1EA #7074EA #A970EA
triadic
#7074EA #EA7074 #74EA70
tetradic
#7074EA #EA70B1 #EAE670 #70EAA9
square
#7074EA #EA70B1 #EAE670 #70EAA9
split-complementary
#7074EA #EAA970 #B1EA70
monochromatic
#1D22C3 #3B40E2 #7074EA #A5A8F2 #DBDCFA

Accessibility & contrast

On white

3.91
#7074EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7074EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7074EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7074EA#FFFFFF#000000##000000
##7074EA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#3A8EA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7074ea;
/* rgb */ color: rgb(112, 116, 234);
/* oklch */ color: oklch(61.5% 0.174 278.5);
Tailwind
colors: {
  custom: {
    50: '#a19cf1',
    500: '#7074ea',
    950: '#000000',
  },
}
SCSS
$custom: #7074ea;
$custom-light: #a19cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7074ea",
  "rgb": {
    "r": 112,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 238.033,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.17429,
    "h": 278.5
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#7074EA
secondary
#EEECC8
accent
#D00FD7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7074EA

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

Preview Lab → · Contrast checker → · Palette generator →

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