#7C8CD9#7C8CD9

#7C8CD9 is a light, moderate blue. Relative luminance 0.281; OKLCH L 66.0% C 0.116 H 273.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7C8CD9
RGBrgb(124, 140, 217)
HSLhsl(230, 55%, 67%)
HSVhsv(230, 43%, 85%)
CMYKcmyk(42.9%, 35.5%, 0%, 14.9%)
CIE-LABlab(59.93, 13.93, -41.24)
CIE-LCHlch(59.93, 43.53, 288.66°)
OKLaboklab(65.97% 0.0079 -0.1159)
OKLCHoklch(65.97% 0.116 273.9)
XYZxyz(30.2108, 28.0495, 69.4544)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CD9 #D9C97C
analogous
#7CBBD9 #7C8CD9 #9B7CD9
triadic
#7C8CD9 #D97C8C #8CD97C
tetradic
#7C8CD9 #D97CBB #D9C97C #7CD99B
square
#7C8CD9 #D97CBB #D9C97C #7CD99B
split-complementary
#7C8CD9 #D99B7C #BBD97C
monochromatic
#3146A9 #4D62CB #7C8CD9 #ABB6E7 #DBDFF5

Accessibility & contrast

On white

3.18
#7C8CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7C8CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CD9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CD9#FFFFFF#000000##000000
##7C8CD91.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DC
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#5D9CA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c8cd9;
/* rgb */ color: rgb(124, 140, 217);
/* oklch */ color: oklch(66.0% 0.116 273.9);
Tailwind
colors: {
  custom: {
    50: '#a6ade5',
    500: '#7c8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cd9;
$custom-light: #a6ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cd9",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 229.677,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65968,
    "c": 0.11617,
    "h": 273.9
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#7C8CD9
secondary
#E7E2CA
accent
#A723C3
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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