#7C8EC3#7C8EC3

#7C8EC3 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.3% C 0.082 H 269.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C8EC3
RGBrgb(124, 142, 195)
HSLhsl(225, 37%, 63%)
HSVhsv(225, 36%, 76%)
CMYKcmyk(36.4%, 27.2%, 0%, 23.5%)
CIE-LABlab(59.50, 6.60, -29.57)
CIE-LCHlch(59.50, 30.30, 282.59°)
OKLaboklab(65.31% -0.0006 -0.0822)
OKLCHoklch(65.31% 0.082 269.6)
XYZxyz(27.8326, 27.5700, 55.4742)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EC3 #C3B17C
analogous
#7CB1C3 #7C8EC3 #8E7CC3
triadic
#7C8EC3 #C37C8E #8EC37C
tetradic
#7C8EC3 #C37CB1 #C3B17C #7CC38E
square
#7C8EC3 #C37CB1 #C3B17C #7CC38E
split-complementary
#7C8EC3 #C38E7C #B1C37C
monochromatic
#3E5087 #526AB0 #7C8EC3 #A6B2D6 #D0D6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8EC3#FFFFFF#000000##000000
##7C8EC31.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C5
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#6799A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c8ec3;
/* rgb */ color: rgb(124, 142, 195);
/* oklch */ color: oklch(65.3% 0.082 269.6);
Tailwind
colors: {
  custom: {
    50: '#a4aed5',
    500: '#7c8ec3',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ec3;
$custom-light: #a4aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ec3",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 224.789,
    "s": 37.173,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.08219,
    "h": 269.6
  },
  "luminance": 0.27571
}

Semantic roles & 50–950 ramp

primary
#7C8EC3
secondary
#DAD4C0
accent
#9135B0
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7C8EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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