#7F86EA#7F86EA

#7F86EA is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.9% C 0.147 H 278.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F86EA
RGBrgb(127, 134, 234)
HSLhsl(236, 72%, 71%)
HSVhsv(236, 46%, 92%)
CMYKcmyk(45.7%, 42.7%, 0%, 8.2%)
CIE-LABlab(59.44, 23.13, -51.49)
CIE-LCHlch(59.44, 56.45, 294.19°)
OKLaboklab(65.92% 0.0218 -0.1457)
OKLCHoklch(65.92% 0.147 278.5)
XYZxyz(32.1243, 27.5011, 81.4415)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F86EA #EAE37F
analogous
#7FBBEA #7F86EA #AD7FEA
triadic
#7F86EA #EA7F86 #86EA7F
tetradic
#7F86EA #EA7FBB #EAE37F #7FEAAD
square
#7F86EA #EA7FBB #EAE37F #7FEAAD
split-complementary
#7F86EA #EAAD7F #BBEA7F
monochromatic
#222DCD #4A54E1 #7F86EA #B4B8F3 #E5E6FB

Accessibility & contrast

On white

3.23
#7F86EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7F86EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F86EA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F86EA#FFFFFF#000000##000000
##7F86EA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#5A9BAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f86ea;
/* rgb */ color: rgb(127, 134, 234);
/* oklch */ color: oklch(65.9% 0.147 278.5);
Tailwind
colors: {
  custom: {
    50: '#a9a9f1',
    500: '#7f86ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f86ea;
$custom-light: #a9a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f86ea",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 236.075,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65915,
    "c": 0.14736,
    "h": 278.5
  },
  "luminance": 0.27503
}

Semantic roles & 50–950 ramp

primary
#7F86EA
secondary
#F1EFD4
accent
#C712D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7F86EA

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

Preview Lab → · Contrast checker → · Palette generator →

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