#7888EA#7888EA

#7888EA is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.8% C 0.146 H 274.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7888EA
RGBrgb(120, 136, 234)
HSLhsl(232, 73%, 69%)
HSVhsv(232, 49%, 92%)
CMYKcmyk(48.7%, 41.9%, 0%, 8.2%)
CIE-LABlab(59.47, 20.33, -51.46)
CIE-LCHlch(59.47, 55.33, 291.56°)
OKLaboklab(65.82% 0.0119 -0.1458)
OKLCHoklch(65.82% 0.146 274.7)
XYZxyz(31.3965, 27.5400, 81.4873)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888EA #EADA78
analogous
#78C1EA #7888EA #A178EA
triadic
#7888EA #EA7888 #88EA78
tetradic
#7888EA #EA78C1 #EADA78 #78EAA1
square
#7888EA #EA78C1 #EADA78 #78EAA1
split-complementary
#7888EA #EAA178 #C1EA78
monochromatic
#1F37C8 #4359E2 #7888EA #ADB7F2 #E2E5FA

Accessibility & contrast

On white

3.23
#7888EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7888EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888EA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888EA#FFFFFF#000000##000000
##7888EA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#4B9DAE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7888ea;
/* rgb */ color: rgb(120, 136, 234);
/* oklch */ color: oklch(65.8% 0.146 274.7);
Tailwind
colors: {
  custom: {
    50: '#a5aaf1',
    500: '#7888ea',
    950: '#000000',
  },
}
SCSS
$custom: #7888ea;
$custom-light: #a5aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7888ea",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 231.579,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.14629,
    "h": 274.7
  },
  "luminance": 0.27542
}

Semantic roles & 50–950 ramp

primary
#7888EA
secondary
#EFEBCE
accent
#BA10D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7888EA

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

Preview Lab → · Contrast checker → · Palette generator →

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