#7C8FCA#7C8FCA

#7C8FCA is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.8% C 0.091 H 270.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7C8FCA
RGBrgb(124, 143, 202)
HSLhsl(225, 42%, 64%)
HSVhsv(225, 39%, 79%)
CMYKcmyk(38.6%, 29.2%, 0%, 20.8%)
CIE-LABlab(60.06, 7.94, -32.63)
CIE-LCHlch(60.06, 33.59, 283.68°)
OKLaboklab(65.85% 0.0001 -0.091)
OKLCHoklch(65.85% 0.091 270.1)
XYZxyz(28.7921, 28.1930, 59.7904)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FCA #CAB77C
analogous
#7CB6CA #7C8FCA #907CCA
triadic
#7C8FCA #CA7C8F #8FCA7C
tetradic
#7C8FCA #CA7CB6 #CAB77C #7CCA90
square
#7C8FCA #CA7CB6 #CAB77C #7CCA90
split-complementary
#7C8FCA #CA907C #B6CA7C
monochromatic
#3B5091 #506AB8 #7C8FCA #A8B4DC #D3DAED

Accessibility & contrast

On white

3.16
#7C8FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7C8FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FCA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FCA#FFFFFF#000000##000000
##7C8FCA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#649BA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c8fca;
/* rgb */ color: rgb(124, 143, 202);
/* oklch */ color: oklch(65.8% 0.091 270.1);
Tailwind
colors: {
  custom: {
    50: '#a4afda',
    500: '#7c8fca',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fca;
$custom-light: #a4afda;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fca",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 225.385,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.091,
    "h": 270.1
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

primary
#7C8FCA
secondary
#DFD8C3
accent
#9530B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7C8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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