#7888FB#7888FB

#7888FB is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.8% C 0.170 H 274.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7888FB
RGBrgb(120, 136, 251)
HSLhsl(233, 94%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(52.2%, 45.8%, 0%, 1.6%)
CIE-LABlab(60.40, 25.50, -59.38)
CIE-LCHlch(60.40, 64.62, 293.24°)
OKLaboklab(66.83% 0.0145 -0.169)
OKLCHoklch(66.83% 0.17 274.9)
XYZxyz(33.9569, 28.5642, 94.9722)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888FB #FBEB78
analogous
#78C9FB #7888FB #AA78FB
triadic
#7888FB #FB7888 #88FB78
tetradic
#7888FB #FB78C9 #FBEB78 #78FBAA
square
#7888FB #FB78C9 #FBEB78 #78FBAA
split-complementary
#7888FB #FBAA78 #C9FB78
monochromatic
#0724F1 #3D54F9 #7888FB #B3BCFD #E1E5FE

Accessibility & contrast

On white

3.13
#7888FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7888FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888FB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888FB#FFFFFF#000000##000000
##7888FB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#468CF9
Tritanopia (blue-blind)
#3BA1B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7888fb;
/* rgb */ color: rgb(120, 136, 251);
/* oklch */ color: oklch(66.8% 0.170 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7aafd',
    500: '#7888fb',
    950: '#000000',
  },
}
SCSS
$custom: #7888fb;
$custom-light: #a7aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#7888fb",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 232.672,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.16963,
    "h": 274.9
  },
  "luminance": 0.28566
}

Semantic roles & 50–950 ramp

primary
#7888FB
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7888FB

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

Preview Lab → · Contrast checker → · Palette generator →

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