#7C8ECA#7C8ECA

#7C8ECA is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.6% C 0.092 H 270.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7C8ECA
RGBrgb(124, 142, 202)
HSLhsl(226, 42%, 64%)
HSVhsv(226, 39%, 79%)
CMYKcmyk(38.6%, 29.7%, 0%, 20.8%)
CIE-LABlab(59.79, 8.52, -33.05)
CIE-LCHlch(59.79, 34.14, 284.46°)
OKLaboklab(65.64% 0.0014 -0.0922)
OKLCHoklch(65.64% 0.092 270.9)
XYZxyz(28.6426, 27.8941, 59.7406)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8ECA #CAB87C
analogous
#7CB5CA #7C8ECA #917CCA
triadic
#7C8ECA #CA7C8E #8ECA7C
tetradic
#7C8ECA #CA7CB5 #CAB87C #7CCA91
square
#7C8ECA #CA7CB5 #CAB87C #7CCA91
split-complementary
#7C8ECA #CA917C #B5CA7C
monochromatic
#3B4F91 #5068B8 #7C8ECA #A8B4DC #D3D9ED

Accessibility & contrast

On white

3.19
#7C8ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7C8ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8ECA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8ECA#FFFFFF#000000##000000
##7C8ECA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#649AA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c8eca;
/* rgb */ color: rgb(124, 142, 202);
/* oklch */ color: oklch(65.6% 0.092 270.9);
Tailwind
colors: {
  custom: {
    50: '#a4aeda',
    500: '#7c8eca',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eca;
$custom-light: #a4aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eca",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 226.154,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65638,
    "c": 0.09221,
    "h": 270.9
  },
  "luminance": 0.27895
}

Semantic roles & 50–950 ramp

primary
#7C8ECA
secondary
#DFD8C3
accent
#9730B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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