#7F8ED4#7F8ED4

#7F8ED4 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.3% C 0.106 H 274.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7F8ED4
RGBrgb(127, 142, 212)
HSLhsl(229, 50%, 66%)
HSVhsv(229, 40%, 83%)
CMYKcmyk(40.1%, 33%, 0%, 16.9%)
CIE-LABlab(60.44, 12.12, -37.65)
CIE-LCHlch(60.44, 39.55, 287.84°)
OKLaboklab(66.33% 0.0073 -0.1054)
OKLCHoklch(66.33% 0.106 274)
XYZxyz(30.3055, 28.6101, 66.2001)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8ED4 #D4C57F
analogous
#7FB9D4 #7F8ED4 #9B7FD4
triadic
#7F8ED4 #D47F8E #8ED47F
tetradic
#7F8ED4 #D47FB9 #D4C57F #7FD49B
square
#7F8ED4 #D47FB9 #D4C57F #7FD49B
split-complementary
#7F8ED4 #D49B7F #B9D47F
monochromatic
#3649A2 #5166C5 #7F8ED4 #ADB6E3 #DBDFF3

Accessibility & contrast

On white

3.12
#7F8ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7F8ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8ED4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8ED4#FFFFFF#000000##000000
##7F8ED41.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D7
Deuteranopia (green-blind)
#708ED2
Tritanopia (blue-blind)
#649CA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f8ed4;
/* rgb */ color: rgb(127, 142, 212);
/* oklch */ color: oklch(66.3% 0.106 274.0);
Tailwind
colors: {
  custom: {
    50: '#a7aee1',
    500: '#7f8ed4',
    950: '#000000',
  },
}
SCSS
$custom: #7f8ed4;
$custom-light: #a7aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8ed4",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 212
  },
  "hsl": {
    "h": 229.412,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66333,
    "c": 0.10565,
    "h": 274
  },
  "luminance": 0.28611
}

Semantic roles & 50–950 ramp

primary
#7F8ED4
secondary
#E5E0CA
accent
#A328BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F8ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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