#7F8AEC#7F8AEC

#7F8AEC is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.145 H 276.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7F8AEC
RGBrgb(127, 138, 236)
HSLhsl(234, 74%, 71%)
HSVhsv(234, 46%, 93%)
CMYKcmyk(46.2%, 41.5%, 0%, 7.5%)
CIE-LABlab(60.55, 21.36, -50.82)
CIE-LCHlch(60.55, 55.13, 292.80°)
OKLaboklab(66.8% 0.0174 -0.1438)
OKLCHoklch(66.8% 0.145 276.9)
XYZxyz(32.9765, 28.7433, 83.1510)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8AEC #ECE17F
analogous
#7FC0EC #7F8AEC #AA7FEC
triadic
#7F8AEC #EC7F8A #8AEC7F
tetradic
#7F8AEC #EC7FC0 #ECE17F #7FECAA
square
#7F8AEC #EC7FC0 #ECE17F #7FECAA
split-complementary
#7F8AEC #ECAA7F #C0EC7F
monochromatic
#1F31D2 #4A59E4 #7F8AEC #B4BBF4 #E4E7FB

Accessibility & contrast

On white

3.11
#7F8AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7F8AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8AEC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8AEC#FFFFFF#000000##000000
##7F8AEC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#589EB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f8aec;
/* rgb */ color: rgb(127, 138, 236);
/* oklch */ color: oklch(66.8% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#a9acf2',
    500: '#7f8aec',
    950: '#000000',
  },
}
SCSS
$custom: #7f8aec;
$custom-light: #a9acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8aec",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 233.945,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66803,
    "c": 0.14481,
    "h": 276.9
  },
  "luminance": 0.28745
}

Semantic roles & 50–950 ramp

primary
#7F8AEC
secondary
#F2EFD5
accent
#C20FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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