#7A8EE4#7A8EE4

#7A8EE4 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.8% C 0.130 H 272.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A8EE4
RGBrgb(122, 142, 228)
HSLhsl(229, 66%, 69%)
HSVhsv(229, 46%, 89%)
CMYKcmyk(46.5%, 37.7%, 0%, 10.6%)
CIE-LABlab(60.85, 15.47, -45.93)
CIE-LCHlch(60.85, 48.46, 288.61°)
OKLaboklab(66.82% 0.0058 -0.1296)
OKLCHoklch(66.82% 0.13 272.5)
XYZxyz(31.6982, 29.0832, 77.3271)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EE4 #E4D07A
analogous
#7AC3E4 #7A8EE4 #9B7AE4
triadic
#7A8EE4 #E47A8E #8EE47A
tetradic
#7A8EE4 #E47AC3 #E4D07A #7AE49B
square
#7A8EE4 #E47AC3 #E4D07A #7AE49B
split-complementary
#7A8EE4 #E49B7A #C3E47A
monochromatic
#2643BD #4763DA #7A8EE4 #ADB9EE #E0E4F9

Accessibility & contrast

On white

3.08
#7A8EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7A8EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8EE4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EE4#FFFFFF#000000##000000
##7A8EE41.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E7
Deuteranopia (green-blind)
#648FE2
Tritanopia (blue-blind)
#52A0AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a8ee4;
/* rgb */ color: rgb(122, 142, 228);
/* oklch */ color: oklch(66.8% 0.130 272.5);
Tailwind
colors: {
  custom: {
    50: '#a5aeed',
    500: '#7a8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ee4;
$custom-light: #a5aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ee4",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 228.679,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66817,
    "c": 0.12969,
    "h": 272.5
  },
  "luminance": 0.29085
}

Semantic roles & 50–950 ramp

primary
#7A8EE4
secondary
#EDE7CD
accent
#AC17CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7A8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

#7A8EE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva