#7C8FCC#7C8FCC

#7C8FCC is a light, moderate blue. Relative luminance 0.283; OKLCH L 65.9% C 0.094 H 270.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7C8FCC
RGBrgb(124, 143, 204)
HSLhsl(226, 44%, 64%)
HSVhsv(226, 39%, 80%)
CMYKcmyk(39.2%, 29.9%, 0%, 20%)
CIE-LABlab(60.15, 8.50, -33.63)
CIE-LCHlch(60.15, 34.68, 284.18°)
OKLaboklab(65.94% 0.0007 -0.0938)
OKLCHoklch(65.94% 0.094 270.4)
XYZxyz(29.0304, 28.2883, 61.0456)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FCC #CCB97C
analogous
#7CB7CC #7C8FCC #917CCC
triadic
#7C8FCC #CC7C8F #8FCC7C
tetradic
#7C8FCC #CC7CB7 #CCB97C #7CCC91
square
#7C8FCC #CC7CB7 #CCB97C #7CCC91
split-complementary
#7C8FCC #CC917C #B7CC7C
monochromatic
#3A4F94 #5069BB #7C8FCC #A8B5DD #D4DAEE

Accessibility & contrast

On white

3.15
#7C8FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7C8FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FCC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FCC#FFFFFF#000000##000000
##7C8FCC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95CF
Deuteranopia (green-blind)
#738ECB
Tritanopia (blue-blind)
#639BA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c8fcc;
/* rgb */ color: rgb(124, 143, 204);
/* oklch */ color: oklch(65.9% 0.094 270.4);
Tailwind
colors: {
  custom: {
    50: '#a5afdb',
    500: '#7c8fcc',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fcc;
$custom-light: #a5afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fcc",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 225.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65942,
    "c": 0.09385,
    "h": 270.4
  },
  "luminance": 0.2829
}

Semantic roles & 50–950 ramp

primary
#7C8FCC
secondary
#E0D9C4
accent
#972EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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