#7F86CD#7F86CD

#7F86CD is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.4% C 0.106 H 278.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7F86CD
RGBrgb(127, 134, 205)
HSLhsl(235, 44%, 65%)
HSVhsv(235, 38%, 80%)
CMYKcmyk(38%, 34.6%, 0%, 19.6%)
CIE-LABlab(58.01, 14.85, -37.52)
CIE-LCHlch(58.01, 40.35, 291.60°)
OKLaboklab(64.35% 0.016 -0.105)
OKLCHoklch(64.35% 0.106 278.7)
XYZxyz(28.2938, 25.9689, 61.2675)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F86CD #CDC67F
analogous
#7FADCD #7F86CD #9F7FCD
triadic
#7F86CD #CD7F86 #86CD7F
tetradic
#7F86CD #CD7FAD #CDC67F #7FCD9F
square
#7F86CD #CD7FAD #CDC67F #7FCD9F
split-complementary
#7F86CD #CD9F7F #ADCD7F
monochromatic
#3B4397 #535CBC #7F86CD #ABB0DE #D7D9EF

Accessibility & contrast

On white

3.39
#7F86CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7F86CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F86CD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F86CD#FFFFFF#000000##000000
##7F86CD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ED0
Deuteranopia (green-blind)
#6A89CB
Tritanopia (blue-blind)
#6894A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f86cd;
/* rgb */ color: rgb(127, 134, 205);
/* oklch */ color: oklch(64.4% 0.106 278.7);
Tailwind
colors: {
  custom: {
    50: '#a7a9dc',
    500: '#7f86cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f86cd;
$custom-light: #a7a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f86cd",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 234.615,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.10625,
    "h": 278.7
  },
  "luminance": 0.2597
}

Semantic roles & 50–950 ramp

primary
#7F86CD
secondary
#E1DFC7
accent
#AB2FB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7F86CD

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

Preview Lab → · Contrast checker → · Palette generator →

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