#7FA4DC#7FA4DC

#7FA4DC is a light, moderate blue. Relative luminance 0.362; OKLCH L 71.3% C 0.092 H 258.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7FA4DC
RGBrgb(127, 164, 220)
HSLhsl(216, 57%, 68%)
HSVhsv(216, 42%, 86%)
CMYKcmyk(42.3%, 25.5%, 0%, 13.7%)
CIE-LABlab(66.69, 1.74, -32.35)
CIE-LCHlch(66.69, 32.40, 273.09°)
OKLaboklab(71.31% -0.0184 -0.0901)
OKLCHoklch(71.31% 0.092 258.5)
XYZxyz(34.9420, 36.2282, 72.8478)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4DC #DCB77F
analogous
#7FD2DC #7FA4DC #887FDC
triadic
#7FA4DC #DC7FA4 #A4DC7F
tetradic
#7FA4DC #DC7FD2 #DCB77F #7FDC88
square
#7FA4DC #DC7FD2 #DCB77F #7FDC88
split-complementary
#7FA4DC #DC887F #D2DC7F
monochromatic
#3063B0 #4F82CF #7FA4DC #AFC6E9 #DFE8F6

Accessibility & contrast

On white

2.55
#7FA4DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#7FA4DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4DC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4DC#FFFFFF#000000##000000
##7FA4DC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DF
Deuteranopia (green-blind)
#859EDB
Tritanopia (blue-blind)
#5DB0B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa4dc;
/* rgb */ color: rgb(127, 164, 220);
/* oklch */ color: oklch(71.3% 0.092 258.5);
Tailwind
colors: {
  custom: {
    50: '#a8bee7',
    500: '#7fa4dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4dc;
$custom-light: #a8bee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4dc",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 220
  },
  "hsl": {
    "h": 216.129,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71314,
    "c": 0.09197,
    "h": 258.5
  },
  "luminance": 0.3623
}

Semantic roles & 50–950 ramp

primary
#7FA4DC
secondary
#EADECD
accent
#8321C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4DC

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

Preview Lab → · Contrast checker → · Palette generator →

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