#7C8BEC#7C8BEC

#7C8BEC is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.8% C 0.144 H 275.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8BEC
RGBrgb(124, 139, 236)
HSLhsl(232, 75%, 71%)
HSVhsv(232, 47%, 93%)
CMYKcmyk(47.5%, 41.1%, 0%, 7.5%)
CIE-LABlab(60.61, 20.07, -50.75)
CIE-LCHlch(60.61, 54.57, 291.58°)
OKLaboklab(66.79% 0.013 -0.1436)
OKLCHoklch(66.79% 0.144 275.2)
XYZxyz(32.6804, 28.8046, 83.1784)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BEC #ECDD7C
analogous
#7CC3EC #7C8BEC #A57CEC
triadic
#7C8BEC #EC7C8B #8BEC7C
tetradic
#7C8BEC #EC7CC3 #ECDD7C #7CECA5
square
#7C8BEC #EC7CC3 #ECDD7C #7CECA5
split-complementary
#7C8BEC #ECA57C #C3EC7C
monochromatic
#1E36D0 #475CE4 #7C8BEC #B1BAF4 #E4E7FB

Accessibility & contrast

On white

3.11
#7C8BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7C8BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BEC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BEC#FFFFFF#000000##000000
##7C8BEC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#519FB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c8bec;
/* rgb */ color: rgb(124, 139, 236);
/* oklch */ color: oklch(66.8% 0.144 275.2);
Tailwind
colors: {
  custom: {
    50: '#a8acf2',
    500: '#7c8bec',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bec;
$custom-light: #a8acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bec",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 231.964,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.14419,
    "h": 275.2
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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