#7C8DCF#7C8DCF

#7C8DCF is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.7% C 0.101 H 272.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7C8DCF
RGBrgb(124, 141, 207)
HSLhsl(228, 46%, 65%)
HSVhsv(228, 40%, 81%)
CMYKcmyk(40.1%, 31.9%, 0%, 18.8%)
CIE-LABlab(59.74, 10.50, -35.94)
CIE-LCHlch(59.74, 37.45, 286.29°)
OKLaboklab(65.67% 0.0041 -0.1005)
OKLCHoklch(65.67% 0.101 272.3)
XYZxyz(29.0961, 27.8385, 62.8596)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DCF #CFBE7C
analogous
#7CB6CF #7C8DCF #957CCF
triadic
#7C8DCF #CF7C8D #8DCF7C
tetradic
#7C8DCF #CF7CB6 #CFBE7C #7CCF95
square
#7C8DCF #CF7CB6 #CFBE7C #7CCF95
split-complementary
#7C8DCF #CF957C #B6CF7C
monochromatic
#384C99 #4F66BF #7C8DCF #A9B4DF #D6DBF0

Accessibility & contrast

On white

3.20
#7C8DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7C8DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DCF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DCF#FFFFFF#000000##000000
##7C8DCF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#629AA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c8dcf;
/* rgb */ color: rgb(124, 141, 207);
/* oklch */ color: oklch(65.7% 0.101 272.3);
Tailwind
colors: {
  custom: {
    50: '#a5aede',
    500: '#7c8dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dcf;
$custom-light: #a5aede;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dcf",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 227.711,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65671,
    "c": 0.10061,
    "h": 272.3
  },
  "luminance": 0.2784
}

Semantic roles & 50–950 ramp

primary
#7C8DCF
secondary
#E2DCC5
accent
#9D2CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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