#7C8DCC#7C8DCC

#7C8DCC is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.5% C 0.096 H 272.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7C8DCC
RGBrgb(124, 141, 204)
HSLhsl(227, 44%, 64%)
HSVhsv(227, 39%, 80%)
CMYKcmyk(39.2%, 30.9%, 0%, 20%)
CIE-LABlab(59.61, 9.66, -34.46)
CIE-LCHlch(59.61, 35.79, 285.66°)
OKLaboklab(65.53% 0.0033 -0.0963)
OKLCHoklch(65.53% 0.096 272)
XYZxyz(28.7329, 27.6932, 60.9464)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DCC #CCBB7C
analogous
#7CB5CC #7C8DCC #937CCC
triadic
#7C8DCC #CC7C8D #8DCC7C
tetradic
#7C8DCC #CC7CB5 #CCBB7C #7CCC93
square
#7C8DCC #CC7CB5 #CCBB7C #7CCC93
split-complementary
#7C8DCC #CC937C #B5CC7C
monochromatic
#3A4D94 #5067BB #7C8DCC #A8B3DD #D4DAEE

Accessibility & contrast

On white

3.21
#7C8DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7C8DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DCC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DCC#FFFFFF#000000##000000
##7C8DCC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#639AA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c8dcc;
/* rgb */ color: rgb(124, 141, 204);
/* oklch */ color: oklch(65.5% 0.096 272.0);
Tailwind
colors: {
  custom: {
    50: '#a5aedc',
    500: '#7c8dcc',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dcc;
$custom-light: #a5aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dcc",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 227.25,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.09632,
    "h": 272
  },
  "luminance": 0.27694
}

Semantic roles & 50–950 ramp

primary
#7C8DCC
secondary
#E0DAC4
accent
#9A2EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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