#7C8EEE#7C8EEE

#7C8EEE is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.143 H 273.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7C8EEE
RGBrgb(124, 142, 238)
HSLhsl(231, 77%, 71%)
HSVhsv(231, 48%, 93%)
CMYKcmyk(47.9%, 40.3%, 0%, 6.7%)
CIE-LABlab(61.48, 18.90, -50.46)
CIE-LCHlch(61.48, 53.89, 290.53°)
OKLaboklab(67.5% 0.0098 -0.1428)
OKLCHoklch(67.5% 0.143 273.9)
XYZxyz(33.4129, 29.8022, 84.8641)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EEE #EEDC7C
analogous
#7CC7EE #7C8EEE #A37CEE
triadic
#7C8EEE #EE7C8E #8EEE7C
tetradic
#7C8EEE #EE7CC7 #EEDC7C #7CEEA3
square
#7C8EEE #EE7CC7 #EEDC7C #7CEEA3
split-complementary
#7C8EEE #EEA37C #C7EE7C
monochromatic
#1C39D4 #465FE7 #7C8EEE #B2BDF5 #E4E8FB

Accessibility & contrast

On white

3.02
#7C8EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7C8EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EEE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EEE#FFFFFF#000000##000000
##7C8EEE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F2
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#50A2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8eee;
/* rgb */ color: rgb(124, 142, 238);
/* oklch */ color: oklch(67.5% 0.143 273.9);
Tailwind
colors: {
  custom: {
    50: '#a8aef4',
    500: '#7c8eee',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eee;
$custom-light: #a8aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eee",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 230.526,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67496,
    "c": 0.1431,
    "h": 273.9
  },
  "luminance": 0.29804
}

Semantic roles & 50–950 ramp

primary
#7C8EEE
secondary
#F2EDD4
accent
#B90CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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