#7C8AEC#7C8AEC

#7C8AEC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.6% C 0.145 H 275.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7C8AEC
RGBrgb(124, 138, 236)
HSLhsl(233, 75%, 71%)
HSVhsv(233, 47%, 93%)
CMYKcmyk(47.5%, 41.5%, 0%, 7.5%)
CIE-LABlab(60.35, 20.66, -51.15)
CIE-LCHlch(60.35, 55.17, 292.00°)
OKLaboklab(66.6% 0.0142 -0.1448)
OKLCHoklch(66.6% 0.145 275.6)
XYZxyz(32.5363, 28.5163, 83.1304)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AEC #ECDE7C
analogous
#7CC2EC #7C8AEC #A67CEC
triadic
#7C8AEC #EC7C8A #8AEC7C
tetradic
#7C8AEC #EC7CC2 #ECDE7C #7CECA6
square
#7C8AEC #EC7CC2 #ECDE7C #7CECA6
split-complementary
#7C8AEC #ECA67C #C2EC7C
monochromatic
#1E34D0 #475AE4 #7C8AEC #B1BAF4 #E4E7FB

Accessibility & contrast

On white

3.13
#7C8AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7C8AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AEC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AEC#FFFFFF#000000##000000
##7C8AEC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#529FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c8aec;
/* rgb */ color: rgb(124, 138, 236);
/* oklch */ color: oklch(66.6% 0.145 275.6);
Tailwind
colors: {
  custom: {
    50: '#a8abf2',
    500: '#7c8aec',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aec;
$custom-light: #a8abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aec",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 232.5,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66597,
    "c": 0.14549,
    "h": 275.6
  },
  "luminance": 0.28518
}

Semantic roles & 50–950 ramp

primary
#7C8AEC
secondary
#F1EDD3
accent
#BE0FD7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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