#7F8AEF#7F8AEF

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

Color values

HEX#7F8AEF
RGBrgb(127, 138, 239)
HSLhsl(234, 78%, 72%)
HSVhsv(234, 47%, 94%)
CMYKcmyk(46.9%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.71, 22.24, -52.23)
CIE-LCHlch(60.71, 56.77, 293.07°)
OKLaboklab(66.97% 0.0179 -0.1479)
OKLCHoklch(66.97% 0.149 276.9)
XYZxyz(33.4161, 28.9192, 85.4658)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8AEF #EFE47F
analogous
#7FC2EF #7F8AEF #AC7FEF
triadic
#7F8AEF #EF7F8A #8AEF7F
tetradic
#7F8AEF #EF7FC2 #EFE47F #7FEFAC
square
#7F8AEF #EF7FC2 #EFE47F #7FEFAC
split-complementary
#7F8AEF #EFAC7F #C2EF7F
monochromatic
#1B2ED9 #4958E8 #7F8AEF #B5BCF6 #E4E6FC

Accessibility & contrast

On white

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

On black

6.78
#7F8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8AEF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8AEF#FFFFFF#000000##000000
##7F8AEF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#569FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f8aef;
/* rgb */ color: rgb(127, 138, 239);
/* oklch */ color: oklch(67.0% 0.149 276.9);
Tailwind
colors: {
  custom: {
    50: '#aaacf5',
    500: '#7f8aef',
    950: '#000000',
  },
}
SCSS
$custom: #7f8aef;
$custom-light: #aaacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8aef",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 234.107,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66972,
    "c": 0.14897,
    "h": 276.9
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

primary
#7F8AEF
secondary
#F3F0D7
accent
#C60BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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