#7C8EEC#7C8EEC

#7C8EEC is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.4% C 0.140 H 273.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7C8EEC
RGBrgb(124, 142, 236)
HSLhsl(230, 75%, 71%)
HSVhsv(230, 47%, 93%)
CMYKcmyk(47.5%, 39.8%, 0%, 7.5%)
CIE-LABlab(61.38, 18.31, -49.52)
CIE-LCHlch(61.38, 52.80, 290.29°)
OKLaboklab(67.38% 0.0094 -0.14)
OKLCHoklch(67.38% 0.14 273.9)
XYZxyz(33.1208, 29.6853, 83.3252)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EEC #ECDA7C
analogous
#7CC6EC #7C8EEC #A27CEC
triadic
#7C8EEC #EC7C8E #8EEC7C
tetradic
#7C8EEC #EC7CC6 #ECDA7C #7CECA2
square
#7C8EEC #EC7CC6 #ECDA7C #7CECA2
split-complementary
#7C8EEC #ECA27C #C6EC7C
monochromatic
#1E3BD0 #4760E4 #7C8EEC #B1BCF4 #E4E8FB

Accessibility & contrast

On white

3.03
#7C8EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7C8EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EEC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EEC#FFFFFF#000000##000000
##7C8EEC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#51A2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8eec;
/* rgb */ color: rgb(124, 142, 236);
/* oklch */ color: oklch(67.4% 0.140 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7aef2',
    500: '#7c8eec',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eec;
$custom-light: #a7aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eec",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 230.357,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67385,
    "c": 0.14032,
    "h": 273.9
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#7C8EEC
secondary
#F1ECD3
accent
#B70FD7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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