#7FA1DC#7FA1DC

#7FA1DC is a light, moderate blue. Relative luminance 0.352; OKLCH L 70.7% C 0.095 H 261.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7FA1DC
RGBrgb(127, 161, 220)
HSLhsl(218, 57%, 68%)
HSVhsv(218, 42%, 86%)
CMYKcmyk(42.3%, 26.8%, 0%, 13.7%)
CIE-LABlab(65.88, 3.44, -33.61)
CIE-LCHlch(65.88, 33.79, 275.84°)
OKLaboklab(70.68% -0.0146 -0.0937)
OKLCHoklch(70.68% 0.095 261.1)
XYZxyz(34.4114, 35.1671, 72.6710)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1DC #DCBA7F
analogous
#7FCFDC #7FA1DC #8C7FDC
triadic
#7FA1DC #DC7FA1 #A1DC7F
tetradic
#7FA1DC #DC7FCF #DCBA7F #7FDC8C
square
#7FA1DC #DC7FCF #DCBA7F #7FDC8C
split-complementary
#7FA1DC #DC8C7F #CFDC7F
monochromatic
#305FB0 #4F7ECF #7FA1DC #AFC4E9 #DFE8F6

Accessibility & contrast

On white

2.61
#7FA1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#7FA1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1DC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1DC#FFFFFF#000000##000000
##7FA1DC1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#829CDB
Tritanopia (blue-blind)
#5EAEB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fa1dc;
/* rgb */ color: rgb(127, 161, 220);
/* oklch */ color: oklch(70.7% 0.095 261.1);
Tailwind
colors: {
  custom: {
    50: '#a8bce7',
    500: '#7fa1dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1dc;
$custom-light: #a8bce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1dc",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 220
  },
  "hsl": {
    "h": 218.065,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.09488,
    "h": 261.1
  },
  "luminance": 0.35169
}

Semantic roles & 50–950 ramp

primary
#7FA1DC
secondary
#EADFCD
accent
#8921C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA1DC

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

Preview Lab → · Contrast checker → · Palette generator →

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