#7FA4DB#7FA4DB

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

Color values

HEX#7FA4DB
RGBrgb(127, 164, 219)
HSLhsl(216, 56%, 68%)
HSVhsv(216, 42%, 86%)
CMYKcmyk(42%, 25.1%, 0%, 14.1%)
CIE-LABlab(66.65, 1.47, -31.86)
CIE-LCHlch(66.65, 31.89, 272.63°)
OKLaboklab(71.27% -0.0187 -0.0887)
OKLCHoklch(71.27% 0.091 258.1)
XYZxyz(34.8099, 36.1754, 72.1524)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4DB #DBB67F
analogous
#7FD2DB #7FA4DB #887FDB
triadic
#7FA4DB #DB7FA4 #A4DB7F
tetradic
#7FA4DB #DB7FD2 #DBB67F #7FDB88
square
#7FA4DB #DB7FD2 #DBB67F #7FDB88
split-complementary
#7FA4DB #DB887F #D2DB7F
monochromatic
#3164AF #4F82CE #7FA4DB #AFC6E8 #DFE8F6

Accessibility & contrast

On white

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

On black

8.24
#7FA4DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4DB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4DB#FFFFFF#000000##000000
##7FA4DB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DD
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#5EB0B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa4db;
/* rgb */ color: rgb(127, 164, 219);
/* oklch */ color: oklch(71.3% 0.091 258.1);
Tailwind
colors: {
  custom: {
    50: '#a8bee6',
    500: '#7fa4db',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4db;
$custom-light: #a8bee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4db",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 219
  },
  "hsl": {
    "h": 215.87,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71269,
    "c": 0.09066,
    "h": 258.1
  },
  "luminance": 0.36177
}

Semantic roles & 50–950 ramp

primary
#7FA4DB
secondary
#E9DECD
accent
#8322C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4DB

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

Preview Lab → · Contrast checker → · Palette generator →

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