#7C8ECD#7C8ECD

#7C8ECD is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.8% C 0.097 H 271.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7C8ECD
RGBrgb(124, 142, 205)
HSLhsl(227, 45%, 65%)
HSVhsv(227, 40%, 80%)
CMYKcmyk(39.5%, 30.7%, 0%, 19.6%)
CIE-LABlab(59.92, 9.36, -34.54)
CIE-LCHlch(59.92, 35.78, 285.16°)
OKLaboklab(65.78% 0.0023 -0.0965)
OKLCHoklch(65.78% 0.097 271.4)
XYZxyz(29.0013, 28.0375, 61.6294)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8ECD #CDBB7C
analogous
#7CB6CD #7C8ECD #937CCD
triadic
#7C8ECD #CD7C8E #8ECD7C
tetradic
#7C8ECD #CD7CB6 #CDBB7C #7CCD93
square
#7C8ECD #CD7CB6 #CDBB7C #7CCD93
split-complementary
#7C8ECD #CD937C #B6CD7C
monochromatic
#394E96 #5068BC #7C8ECD #A8B4DE #D5DAEF

Accessibility & contrast

On white

3.18
#7C8ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7C8ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8ECD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8ECD#FFFFFF#000000##000000
##7C8ECD1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#629BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c8ecd;
/* rgb */ color: rgb(124, 142, 205);
/* oklch */ color: oklch(65.8% 0.097 271.4);
Tailwind
colors: {
  custom: {
    50: '#a5aedc',
    500: '#7c8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ecd;
$custom-light: #a5aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ecd",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 226.667,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65781,
    "c": 0.09651,
    "h": 271.4
  },
  "luminance": 0.28039
}

Semantic roles & 50–950 ramp

primary
#7C8ECD
secondary
#E0DAC4
accent
#992EB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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