#7074EF#7074EF

#7074EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.8% C 0.181 H 278.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7074EF
RGBrgb(112, 116, 239)
HSLhsl(238, 80%, 69%)
HSVhsv(238, 53%, 94%)
CMYKcmyk(53.1%, 51.5%, 0%, 6.3%)
CIE-LABlab(54.20, 32.08, -62.70)
CIE-LCHlch(54.20, 70.43, 297.09°)
OKLaboklab(61.78% 0.0261 -0.1791)
OKLCHoklch(61.78% 0.181 278.3)
XYZxyz(28.5026, 22.1657, 84.4211)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7074EF #EFEB70
analogous
#70B4EF #7074EF #AC70EF
triadic
#7074EF #EF7074 #74EF70
tetradic
#7074EF #EF70B4 #EFEB70 #70EFAC
square
#7074EF #EF70B4 #EFEB70 #70EFAC
split-complementary
#7074EF #EFAC70 #B4EF70
monochromatic
#171DCE #393FE9 #7074EF #A7AAF5 #DEDFFB

Accessibility & contrast

On white

3.86
#7074EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7074EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7074EF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7074EF#FFFFFF#000000##000000
##7074EF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#1E7DEC
Tritanopia (blue-blind)
#3590A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7074ef;
/* rgb */ color: rgb(112, 116, 239);
/* oklch */ color: oklch(61.8% 0.181 278.3);
Tailwind
colors: {
  custom: {
    50: '#a29cf5',
    500: '#7074ef',
    950: '#000000',
  },
}
SCSS
$custom: #7074ef;
$custom-light: #a29cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7074ef",
  "rgb": {
    "r": 112,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 238.11,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61783,
    "c": 0.18101,
    "h": 278.3
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#7074EF
secondary
#F0EFCB
accent
#D609DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7074EF

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

Preview Lab → · Contrast checker → · Palette generator →

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