#7888EB#7888EB

#7888EB is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.9% C 0.148 H 274.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7888EB
RGBrgb(120, 136, 235)
HSLhsl(232, 74%, 70%)
HSVhsv(232, 49%, 92%)
CMYKcmyk(48.9%, 42.1%, 0%, 7.8%)
CIE-LABlab(59.52, 20.63, -51.93)
CIE-LCHlch(59.52, 55.88, 291.67°)
OKLaboklab(65.88% 0.0121 -0.1472)
OKLCHoklch(65.88% 0.148 274.7)
XYZxyz(31.5406, 27.5977, 82.2461)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888EB #EBDB78
analogous
#78C2EB #7888EB #A278EB
triadic
#7888EB #EB7888 #88EB78
tetradic
#7888EB #EB78C2 #EBDB78 #78EBA2
square
#7888EB #EB78C2 #EBDB78 #78EBA2
split-complementary
#7888EB #EBA278 #C2EB78
monochromatic
#1E36CB #4359E3 #7888EB #ADB7F3 #E3E6FB

Accessibility & contrast

On white

3.22
#7888EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7888EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888EB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888EB#FFFFFF#000000##000000
##7888EB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#4A9DAE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7888eb;
/* rgb */ color: rgb(120, 136, 235);
/* oklch */ color: oklch(65.9% 0.148 274.7);
Tailwind
colors: {
  custom: {
    50: '#a5aaf2',
    500: '#7888eb',
    950: '#000000',
  },
}
SCSS
$custom: #7888eb;
$custom-light: #a5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7888eb",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 231.652,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.14767,
    "h": 274.7
  },
  "luminance": 0.276
}

Semantic roles & 50–950 ramp

primary
#7888EB
secondary
#F0EBCF
accent
#BB0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7888EB

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

Preview Lab → · Contrast checker → · Palette generator →

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