#7FA3DC#7FA3DC

#7FA3DC is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.1% C 0.093 H 259.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA3DC
RGBrgb(127, 163, 220)
HSLhsl(217, 57%, 68%)
HSVhsv(217, 42%, 86%)
CMYKcmyk(42.3%, 25.9%, 0%, 13.7%)
CIE-LABlab(66.42, 2.31, -32.77)
CIE-LCHlch(66.42, 32.85, 274.03°)
OKLaboklab(71.1% -0.0171 -0.0913)
OKLCHoklch(71.1% 0.093 259.4)
XYZxyz(34.7637, 35.8717, 72.7884)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA3DC #DCB87F
analogous
#7FD1DC #7FA3DC #897FDC
triadic
#7FA3DC #DC7FA3 #A3DC7F
tetradic
#7FA3DC #DC7FD1 #DCB87F #7FDC89
square
#7FA3DC #DC7FD1 #DCB87F #7FDC89
split-complementary
#7FA3DC #DC897F #D1DC7F
monochromatic
#3062B0 #4F80CF #7FA3DC #AFC6E9 #DFE8F6

Accessibility & contrast

On white

2.57
#7FA3DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7FA3DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA3DC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA3DC#FFFFFF#000000##000000
##7FA3DC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DF
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#5DAFB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa3dc;
/* rgb */ color: rgb(127, 163, 220);
/* oklch */ color: oklch(71.1% 0.093 259.4);
Tailwind
colors: {
  custom: {
    50: '#a8bee7',
    500: '#7fa3dc',
    950: '#000000',
  },
}
SCSS
$custom: #7fa3dc;
$custom-light: #a8bee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa3dc",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 220
  },
  "hsl": {
    "h": 216.774,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71101,
    "c": 0.09292,
    "h": 259.4
  },
  "luminance": 0.35874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA3DC

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

Preview Lab → · Contrast checker → · Palette generator →

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