#7C8CCF#7C8CCF

#7C8CCF is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.5% C 0.102 H 273.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C8CCF
RGBrgb(124, 140, 207)
HSLhsl(228, 46%, 65%)
HSVhsv(228, 40%, 81%)
CMYKcmyk(40.1%, 32.4%, 0%, 18.8%)
CIE-LABlab(59.48, 11.09, -36.36)
CIE-LCHlch(59.48, 38.01, 286.96°)
OKLaboklab(65.46% 0.0054 -0.1017)
OKLCHoklch(65.46% 0.102 273)
XYZxyz(28.9494, 27.5449, 62.8107)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CCF #CFBF7C
analogous
#7CB5CF #7C8CCF #967CCF
triadic
#7C8CCF #CF7C8C #8CCF7C
tetradic
#7C8CCF #CF7CB5 #CFBF7C #7CCF96
square
#7C8CCF #CF7CB5 #CFBF7C #7CCF96
split-complementary
#7C8CCF #CF967C #B5CF7C
monochromatic
#384B99 #4F65BF #7C8CCF #A9B3DF #D6DBF0

Accessibility & contrast

On white

3.23
#7C8CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7C8CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CCF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CCF#FFFFFF#000000##000000
##7C8CCF1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#6F8CCD
Tritanopia (blue-blind)
#6299A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c8ccf;
/* rgb */ color: rgb(124, 140, 207);
/* oklch */ color: oklch(65.5% 0.102 273.0);
Tailwind
colors: {
  custom: {
    50: '#a5adde',
    500: '#7c8ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ccf;
$custom-light: #a5adde;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ccf",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 228.434,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65464,
    "c": 0.10188,
    "h": 273
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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