#7FA1DB#7FA1DB

#7FA1DB is a light, moderate blue. Relative luminance 0.351; OKLCH L 70.6% C 0.094 H 260.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA1DB
RGBrgb(127, 161, 219)
HSLhsl(218, 56%, 68%)
HSVhsv(218, 42%, 86%)
CMYKcmyk(42%, 26.5%, 0%, 14.1%)
CIE-LABlab(65.84, 3.16, -33.12)
CIE-LCHlch(65.84, 33.27, 275.45°)
OKLaboklab(70.63% -0.0149 -0.0923)
OKLCHoklch(70.63% 0.094 260.8)
XYZxyz(34.2794, 35.1143, 71.9756)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1DB #DBB97F
analogous
#7FCFDB #7FA1DB #8B7FDB
triadic
#7FA1DB #DB7FA1 #A1DB7F
tetradic
#7FA1DB #DB7FCF #DBB97F #7FDB8B
square
#7FA1DB #DB7FCF #DBB97F #7FDB8B
split-complementary
#7FA1DB #DB8B7F #CFDB7F
monochromatic
#315FAF #4F7ECE #7FA1DB #AFC4E8 #DFE7F6

Accessibility & contrast

On white

2.62
#7FA1DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#7FA1DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1DB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1DB#FFFFFF#000000##000000
##7FA1DB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#5EADB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fa1db;
/* rgb */ color: rgb(127, 161, 219);
/* oklch */ color: oklch(70.6% 0.094 260.8);
Tailwind
colors: {
  custom: {
    50: '#a7bce6',
    500: '#7fa1db',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1db;
$custom-light: #a7bce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1db",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 219
  },
  "hsl": {
    "h": 217.826,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.09354,
    "h": 260.8
  },
  "luminance": 0.35116
}

Semantic roles & 50–950 ramp

primary
#7FA1DB
secondary
#E9DFCD
accent
#8822C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA1DB

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

Preview Lab → · Contrast checker → · Palette generator →

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