#7C8CEE#7C8CEE

#7C8CEE is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.1% C 0.146 H 274.8°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7C8CEE
RGBrgb(124, 140, 238)
HSLhsl(232, 77%, 71%)
HSVhsv(232, 48%, 93%)
CMYKcmyk(47.9%, 41.2%, 0%, 6.7%)
CIE-LABlab(60.97, 20.08, -51.28)
CIE-LCHlch(60.97, 55.07, 291.38°)
OKLaboklab(67.1% 0.0122 -0.1452)
OKLCHoklch(67.1% 0.146 274.8)
XYZxyz(33.1180, 29.2124, 84.7658)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CEE #EEDE7C
analogous
#7CC5EE #7C8CEE #A57CEE
triadic
#7C8CEE #EE7C8C #8CEE7C
tetradic
#7C8CEE #EE7CC5 #EEDE7C #7CEEA5
square
#7C8CEE #EE7CC5 #EEDE7C #7CEEA5
split-complementary
#7C8CEE #EEA57C #C5EE7C
monochromatic
#1C35D4 #465CE7 #7C8CEE #B2BCF5 #E4E7FB

Accessibility & contrast

On white

3.07
#7C8CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7C8CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CEE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CEE#FFFFFF#000000##000000
##7C8CEE1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#50A1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8cee;
/* rgb */ color: rgb(124, 140, 238);
/* oklch */ color: oklch(67.1% 0.146 274.8);
Tailwind
colors: {
  custom: {
    50: '#a8adf4',
    500: '#7c8cee',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cee;
$custom-light: #a8adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cee",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 231.579,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67102,
    "c": 0.14567,
    "h": 274.8
  },
  "luminance": 0.29214
}

Semantic roles & 50–950 ramp

primary
#7C8CEE
secondary
#F2EED4
accent
#BC0CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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