#7C8DCA#7C8DCA

#7C8DCA is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.4% C 0.093 H 271.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7C8DCA
RGBrgb(124, 141, 202)
HSLhsl(227, 42%, 64%)
HSVhsv(227, 39%, 79%)
CMYKcmyk(38.6%, 30.2%, 0%, 20.8%)
CIE-LABlab(59.52, 9.11, -33.47)
CIE-LCHlch(59.52, 34.69, 285.22°)
OKLaboklab(65.43% 0.0028 -0.0934)
OKLCHoklch(65.43% 0.093 271.7)
XYZxyz(28.4945, 27.5978, 59.6912)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DCA #CAB97C
analogous
#7CB4CA #7C8DCA #927CCA
triadic
#7C8DCA #CA7C8D #8DCA7C
tetradic
#7C8DCA #CA7CB4 #CAB97C #7CCA92
square
#7C8DCA #CA7CB4 #CAB97C #7CCA92
split-complementary
#7C8DCA #CA927C #B4CA7C
monochromatic
#3B4D91 #5067B8 #7C8DCA #A8B3DC #D3D9ED

Accessibility & contrast

On white

3.22
#7C8DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7C8DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DCA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DCA#FFFFFF#000000##000000
##7C8DCA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#6499A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c8dca;
/* rgb */ color: rgb(124, 141, 202);
/* oklch */ color: oklch(65.4% 0.093 271.7);
Tailwind
colors: {
  custom: {
    50: '#a4aeda',
    500: '#7c8dca',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dca;
$custom-light: #a4aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dca",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 226.923,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65429,
    "c": 0.09345,
    "h": 271.7
  },
  "luminance": 0.27599
}

Semantic roles & 50–950 ramp

primary
#7C8DCA
secondary
#DFD9C3
accent
#9830B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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