#7074EB#7074EB

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

Color values

HEX#7074EB
RGBrgb(112, 116, 235)
HSLhsl(238, 75%, 68%)
HSVhsv(238, 52%, 92%)
CMYKcmyk(52.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.95, 30.84, -60.86)
CIE-LCHlch(53.95, 68.23, 296.87°)
OKLaboklab(61.52% 0.0258 -0.1737)
OKLCHoklch(61.52% 0.176 278.4)
XYZxyz(27.9182, 21.9320, 81.3433)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7074EB #EBE770
analogous
#70B1EB #7074EB #A970EB
triadic
#7074EB #EB7074 #74EB70
tetradic
#7074EB #EB70B1 #EBE770 #70EBA9
square
#7074EB #EB70B1 #EBE770 #70EBA9
split-complementary
#7074EB #EBA970 #B1EB70
monochromatic
#1C21C5 #3A40E3 #7074EB #A6A8F3 #DBDCFA

Accessibility & contrast

On white

3.90
#7074EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7074EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7074EB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7074EB#FFFFFF#000000##000000
##7074EB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#398EA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7074eb;
/* rgb */ color: rgb(112, 116, 235);
/* oklch */ color: oklch(61.5% 0.176 278.4);
Tailwind
colors: {
  custom: {
    50: '#a19cf2',
    500: '#7074eb',
    950: '#000000',
  },
}
SCSS
$custom: #7074eb;
$custom-light: #a19cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7074eb",
  "rgb": {
    "r": 112,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 238.049,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.17564,
    "h": 278.4
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#7074EB
secondary
#EEEDC9
accent
#D10ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7074EB

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

Preview Lab → · Contrast checker → · Palette generator →

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