#7F8AEE#7F8AEE

#7F8AEE is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.9% C 0.148 H 276.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7F8AEE
RGBrgb(127, 138, 238)
HSLhsl(234, 77%, 72%)
HSVhsv(234, 47%, 93%)
CMYKcmyk(46.6%, 42%, 0%, 6.7%)
CIE-LABlab(60.66, 21.95, -51.76)
CIE-LCHlch(60.66, 56.22, 292.98°)
OKLaboklab(66.92% 0.0177 -0.1465)
OKLCHoklch(66.92% 0.148 276.9)
XYZxyz(33.2687, 28.8602, 84.6899)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8AEE #EEE37F
analogous
#7FC2EE #7F8AEE #AC7FEE
triadic
#7F8AEE #EE7F8A #8AEE7F
tetradic
#7F8AEE #EE7FC2 #EEE37F #7FEEAC
square
#7F8AEE #EE7FC2 #EEE37F #7FEEAC
split-complementary
#7F8AEE #EEAC7F #C2EE7F
monochromatic
#1C2FD6 #4959E7 #7F8AEE #B5BBF5 #E4E6FB

Accessibility & contrast

On white

3.10
#7F8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7F8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8AEE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8AEE#FFFFFF#000000##000000
##7F8AEE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#569FB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f8aee;
/* rgb */ color: rgb(127, 138, 238);
/* oklch */ color: oklch(66.9% 0.148 276.9);
Tailwind
colors: {
  custom: {
    50: '#aaacf4',
    500: '#7f8aee',
    950: '#000000',
  },
}
SCSS
$custom: #7f8aee;
$custom-light: #aaacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8aee",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 234.054,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66916,
    "c": 0.14758,
    "h": 276.9
  },
  "luminance": 0.28862
}

Semantic roles & 50–950 ramp

primary
#7F8AEE
secondary
#F3F0D6
accent
#C50DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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