#7C8ECF#7C8ECF

#7C8ECF is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.9% C 0.099 H 271.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C8ECF
RGBrgb(124, 142, 207)
HSLhsl(227, 46%, 65%)
HSVhsv(227, 40%, 81%)
CMYKcmyk(40.1%, 31.4%, 0%, 18.8%)
CIE-LABlab(60.01, 9.92, -35.52)
CIE-LCHlch(60.01, 36.88, 285.60°)
OKLaboklab(65.88% 0.0028 -0.0993)
OKLCHoklch(65.88% 0.099 271.6)
XYZxyz(29.2443, 28.1347, 62.9090)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8ECF #CFBD7C
analogous
#7CB8CF #7C8ECF #947CCF
triadic
#7C8ECF #CF7C8E #8ECF7C
tetradic
#7C8ECF #CF7CB8 #CFBD7C #7CCF94
square
#7C8ECF #CF7CB8 #CFBD7C #7CCF94
split-complementary
#7C8ECF #CF947C #B8CF7C
monochromatic
#384D99 #4F67BF #7C8ECF #A9B5DF #D6DBF0

Accessibility & contrast

On white

3.17
#7C8ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7C8ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8ECF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8ECF#FFFFFF#000000##000000
##7C8ECF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D2
Deuteranopia (green-blind)
#718DCD
Tritanopia (blue-blind)
#619BA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c8ecf;
/* rgb */ color: rgb(124, 142, 207);
/* oklch */ color: oklch(65.9% 0.099 271.6);
Tailwind
colors: {
  custom: {
    50: '#a5aede',
    500: '#7c8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ecf;
$custom-light: #a5aede;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ecf",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 226.988,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.09937,
    "h": 271.6
  },
  "luminance": 0.28136
}

Semantic roles & 50–950 ramp

primary
#7C8ECF
secondary
#E2DBC5
accent
#9B2CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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