#7C8EE2#7C8EE2

#7C8EE2 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.8% C 0.126 H 273.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7C8EE2
RGBrgb(124, 142, 226)
HSLhsl(229, 64%, 69%)
HSVhsv(229, 45%, 89%)
CMYKcmyk(45.1%, 37.2%, 0%, 11.4%)
CIE-LABlab(60.89, 15.36, -44.76)
CIE-LCHlch(60.89, 47.32, 288.94°)
OKLaboklab(66.84% 0.0074 -0.1261)
OKLCHoklch(66.84% 0.126 273.4)
XYZxyz(31.7084, 29.1203, 75.8868)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EE2 #E2D07C
analogous
#7CC1E2 #7C8EE2 #9D7CE2
triadic
#7C8EE2 #E27C8E #8EE27C
tetradic
#7C8EE2 #E27CC1 #E2D07C #7CE29D
square
#7C8EE2 #E27CC1 #E2D07C #7CE29D
split-complementary
#7C8EE2 #E29D7C #C1E27C
monochromatic
#2943BA #4A63D7 #7C8EE2 #AEB9ED #E0E4F8

Accessibility & contrast

On white

3.08
#7C8EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7C8EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EE2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EE2#FFFFFF#000000##000000
##7C8EE21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E5
Deuteranopia (green-blind)
#668FE0
Tritanopia (blue-blind)
#579FAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8ee2;
/* rgb */ color: rgb(124, 142, 226);
/* oklch */ color: oklch(66.8% 0.126 273.4);
Tailwind
colors: {
  custom: {
    50: '#a6aeeb',
    500: '#7c8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ee2;
$custom-light: #a6aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ee2",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 229.412,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66844,
    "c": 0.12633,
    "h": 273.4
  },
  "luminance": 0.29122
}

Semantic roles & 50–950 ramp

primary
#7C8EE2
secondary
#ECE7CE
accent
#AC1ACC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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