#7F8AEB#7F8AEB

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

Color values

HEX#7F8AEB
RGBrgb(127, 138, 235)
HSLhsl(234, 73%, 71%)
HSVhsv(234, 46%, 92%)
CMYKcmyk(46%, 41.3%, 0%, 7.8%)
CIE-LABlab(60.50, 21.07, -50.35)
CIE-LCHlch(60.50, 54.58, 292.71°)
OKLaboklab(66.75% 0.0172 -0.1424)
OKLCHoklch(66.75% 0.143 276.9)
XYZxyz(32.8317, 28.6854, 82.3880)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8AEB #EBE07F
analogous
#7FC0EB #7F8AEB #AA7FEB
triadic
#7F8AEB #EB7F8A #8AEB7F
tetradic
#7F8AEB #EB7FC0 #EBE07F #7FEBAA
square
#7F8AEB #EB7FC0 #EBE07F #7FEBAA
split-complementary
#7F8AEB #EBAA7F #C0EB7F
monochromatic
#2032CF #4A5AE3 #7F8AEB #B4BAF3 #E5E7FB

Accessibility & contrast

On white

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

On black

6.74
#7F8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8AEB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8AEB#FFFFFF#000000##000000
##7F8AEB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#589EAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f8aeb;
/* rgb */ color: rgb(127, 138, 235);
/* oklch */ color: oklch(66.7% 0.143 276.9);
Tailwind
colors: {
  custom: {
    50: '#a9acf2',
    500: '#7f8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7f8aeb;
$custom-light: #a9acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8aeb",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 233.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66747,
    "c": 0.14341,
    "h": 276.9
  },
  "luminance": 0.28687
}

Semantic roles & 50–950 ramp

primary
#7F8AEB
secondary
#F1EED5
accent
#C110D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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