#7F8DD4#7F8DD4

#7F8DD4 is a light, moderate blue. Relative luminance 0.283; OKLCH L 66.1% C 0.107 H 274.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7F8DD4
RGBrgb(127, 141, 212)
HSLhsl(230, 50%, 66%)
HSVhsv(230, 40%, 83%)
CMYKcmyk(40.1%, 33.5%, 0%, 16.9%)
CIE-LABlab(60.17, 12.70, -38.06)
CIE-LCHlch(60.17, 40.12, 288.46°)
OKLaboklab(66.13% 0.0086 -0.1066)
OKLCHoklch(66.13% 0.107 274.6)
XYZxyz(30.1574, 28.3139, 66.1507)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8DD4 #D4C67F
analogous
#7FB8D4 #7F8DD4 #9C7FD4
triadic
#7F8DD4 #D47F8D #8DD47F
tetradic
#7F8DD4 #D47FB8 #D4C67F #7FD49C
square
#7F8DD4 #D47FB8 #D4C67F #7FD49C
split-complementary
#7F8DD4 #D49C7F #B8D47F
monochromatic
#3648A2 #5164C5 #7F8DD4 #ADB6E3 #DBDFF3

Accessibility & contrast

On white

3.15
#7F8DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7F8DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8DD4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8DD4#FFFFFF#000000##000000
##7F8DD41.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D7
Deuteranopia (green-blind)
#6E8ED2
Tritanopia (blue-blind)
#649BA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f8dd4;
/* rgb */ color: rgb(127, 141, 212);
/* oklch */ color: oklch(66.1% 0.107 274.6);
Tailwind
colors: {
  custom: {
    50: '#a7aee1',
    500: '#7f8dd4',
    950: '#000000',
  },
}
SCSS
$custom: #7f8dd4;
$custom-light: #a7aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8dd4",
  "rgb": {
    "r": 127,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 230.118,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66128,
    "c": 0.10694,
    "h": 274.6
  },
  "luminance": 0.28315
}

Semantic roles & 50–950 ramp

primary
#7F8DD4
secondary
#E5E1CA
accent
#A528BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F8DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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