#7F86D2#7F86D2

#7F86D2 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.6% C 0.113 H 278.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7F86D2
RGBrgb(127, 134, 210)
HSLhsl(235, 48%, 66%)
HSVhsv(235, 40%, 82%)
CMYKcmyk(39.5%, 36.2%, 0%, 17.6%)
CIE-LABlab(58.24, 16.25, -39.97)
CIE-LCHlch(58.24, 43.14, 292.12°)
OKLaboklab(64.61% 0.0172 -0.1121)
OKLCHoklch(64.61% 0.113 278.7)
XYZxyz(28.9070, 26.2142, 64.4970)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F86D2 #D2CB7F
analogous
#7FAFD2 #7F86D2 #A17FD2
triadic
#7F86D2 #D27F86 #86D27F
tetradic
#7F86D2 #D27FAF #D2CB7F #7FD2A1
square
#7F86D2 #D27FAF #D2CB7F #7FD2A1
split-complementary
#7F86D2 #D2A17F #AFD27F
monochromatic
#38419F #525BC2 #7F86D2 #ACB1E2 #DADCF2

Accessibility & contrast

On white

3.36
#7F86D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7F86D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F86D2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F86D2#FFFFFF#000000##000000
##7F86D21.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8FD5
Deuteranopia (green-blind)
#6789D0
Tritanopia (blue-blind)
#6695A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f86d2;
/* rgb */ color: rgb(127, 134, 210);
/* oklch */ color: oklch(64.6% 0.113 278.7);
Tailwind
colors: {
  custom: {
    50: '#a7a9e0',
    500: '#7f86d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f86d2;
$custom-light: #a7a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f86d2",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 210
  },
  "hsl": {
    "h": 234.94,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6461,
    "c": 0.11345,
    "h": 278.7
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#7F86D2
secondary
#E4E2C9
accent
#AF2ABB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7F86D2

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

Preview Lab → · Contrast checker → · Palette generator →

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