#7F8CD4#7F8CD4

#7F8CD4 is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.9% C 0.108 H 275.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7F8CD4
RGBrgb(127, 140, 212)
HSLhsl(231, 50%, 66%)
HSVhsv(231, 40%, 83%)
CMYKcmyk(40.1%, 34%, 0%, 16.9%)
CIE-LABlab(59.91, 13.29, -38.47)
CIE-LCHlch(59.91, 40.70, 289.05°)
OKLaboklab(65.92% 0.0099 -0.1078)
OKLCHoklch(65.92% 0.108 275.2)
XYZxyz(30.0106, 28.0203, 66.1018)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8CD4 #D4C77F
analogous
#7FB7D4 #7F8CD4 #9D7FD4
triadic
#7F8CD4 #D47F8C #8CD47F
tetradic
#7F8CD4 #D47FB7 #D4C77F #7FD49D
square
#7F8CD4 #D47FB7 #D4C77F #7FD49D
split-complementary
#7F8CD4 #D49D7F #B7D47F
monochromatic
#3647A2 #5163C5 #7F8CD4 #ADB5E3 #DBDEF3

Accessibility & contrast

On white

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

On black

6.60
#7F8CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8CD4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8CD4#FFFFFF#000000##000000
##7F8CD41.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#649AA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f8cd4;
/* rgb */ color: rgb(127, 140, 212);
/* oklch */ color: oklch(65.9% 0.108 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7ade1',
    500: '#7f8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #7f8cd4;
$custom-light: #a7ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8cd4",
  "rgb": {
    "r": 127,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 230.824,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.10825,
    "h": 275.2
  },
  "luminance": 0.28022
}

Semantic roles & 50–950 ramp

primary
#7F8CD4
secondary
#E5E1CA
accent
#A628BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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