#7888FC#7888FC

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

Color values

HEX#7888FC
RGBrgb(120, 136, 252)
HSLhsl(233, 96%, 73%)
HSVhsv(233, 52%, 99%)
CMYKcmyk(52.4%, 46%, 0%, 1.2%)
CIE-LABlab(60.45, 25.80, -59.84)
CIE-LCHlch(60.45, 65.16, 293.33°)
OKLaboklab(66.89% 0.0146 -0.1704)
OKLCHoklch(66.89% 0.171 274.9)
XYZxyz(34.1150, 28.6274, 95.8046)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888FC #FCEC78
analogous
#78CAFC #7888FC #AA78FC
triadic
#7888FC #FC7888 #88FC78
tetradic
#7888FC #FC78CA #FCEC78 #78FCAA
square
#7888FC #FC78CA #FCEC78 #78FCAA
split-complementary
#7888FC #FCAA78 #CAFC78
monochromatic
#0522F4 #3C53FB #7888FC #B4BDFD #E1E5FE

Accessibility & contrast

On white

3.12
#7888FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7888FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888FC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888FC#FFFFFF#000000##000000
##7888FC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#458DF9
Tritanopia (blue-blind)
#3AA1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7888fc;
/* rgb */ color: rgb(120, 136, 252);
/* oklch */ color: oklch(66.9% 0.171 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7aafe',
    500: '#7888fc',
    950: '#000000',
  },
}
SCSS
$custom: #7888fc;
$custom-light: #a7aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#7888fc",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 232.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66886,
    "c": 0.17098,
    "h": 274.9
  },
  "luminance": 0.2863
}

Semantic roles & 50–950 ramp

primary
#7888FC
secondary
#F7F2D4
accent
#CA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7888FC

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

Preview Lab → · Contrast checker → · Palette generator →

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