#7C8FC8#7C8FC8

#7C8FC8 is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.8% C 0.088 H 269.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8FC8
RGBrgb(124, 143, 200)
HSLhsl(225, 41%, 64%)
HSVhsv(225, 38%, 78%)
CMYKcmyk(38%, 28.5%, 0%, 21.6%)
CIE-LABlab(59.98, 7.39, -31.64)
CIE-LCHlch(59.98, 32.49, 283.15°)
OKLaboklab(65.75% -0.0004 -0.0881)
OKLCHoklch(65.75% 0.088 269.7)
XYZxyz(28.5568, 28.0989, 58.5513)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FC8 #C8B57C
analogous
#7CB5C8 #7C8FC8 #8F7CC8
triadic
#7C8FC8 #C87C8F #8FC87C
tetradic
#7C8FC8 #C87CB5 #C8B57C #7CC88F
square
#7C8FC8 #C87CB5 #C8B57C #7CC88F
split-complementary
#7C8FC8 #C88F7C #B5C87C
monochromatic
#3C508E #516AB6 #7C8FC8 #A7B4DA #D2D9EC

Accessibility & contrast

On white

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

On black

6.62
#7C8FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FC8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FC8#FFFFFF#000000##000000
##7C8FC81.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C94CA
Deuteranopia (green-blind)
#758EC7
Tritanopia (blue-blind)
#649AA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c8fc8;
/* rgb */ color: rgb(124, 143, 200);
/* oklch */ color: oklch(65.8% 0.088 269.7);
Tailwind
colors: {
  custom: {
    50: '#a4afd9',
    500: '#7c8fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fc8;
$custom-light: #a4afd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fc8",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 200
  },
  "hsl": {
    "h": 225,
    "s": 40.86,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65754,
    "c": 0.08814,
    "h": 269.7
  },
  "luminance": 0.281
}

Semantic roles & 50–950 ramp

primary
#7C8FC8
secondary
#DDD7C2
accent
#9332B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7C8FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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