#7FA0DB#7FA0DB

#7FA0DB is a light, moderate blue. Relative luminance 0.348; OKLCH L 70.4% C 0.095 H 261.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7FA0DB
RGBrgb(127, 160, 219)
HSLhsl(218, 56%, 68%)
HSVhsv(218, 42%, 86%)
CMYKcmyk(42%, 26.9%, 0%, 14.1%)
CIE-LABlab(65.57, 3.72, -33.54)
CIE-LCHlch(65.57, 33.75, 276.33°)
OKLaboklab(70.42% -0.0137 -0.0935)
OKLCHoklch(70.42% 0.095 261.7)
XYZxyz(34.1053, 34.7662, 71.9176)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0DB #DBBA7F
analogous
#7FCEDB #7FA0DB #8C7FDB
triadic
#7FA0DB #DB7FA0 #A0DB7F
tetradic
#7FA0DB #DB7FCE #DBBA7F #7FDB8C
square
#7FA0DB #DB7FCE #DBBA7F #7FDB8C
split-complementary
#7FA0DB #DB8C7F #CEDB7F
monochromatic
#315EAF #4F7DCE #7FA0DB #AFC3E8 #DFE7F6

Accessibility & contrast

On white

2.64
#7FA0DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#7FA0DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0DB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0DB#FFFFFF#000000##000000
##7FA0DB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#819BDA
Tritanopia (blue-blind)
#5EACB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fa0db;
/* rgb */ color: rgb(127, 160, 219);
/* oklch */ color: oklch(70.4% 0.095 261.7);
Tailwind
colors: {
  custom: {
    50: '#a7bbe6',
    500: '#7fa0db',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0db;
$custom-light: #a7bbe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0db",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 219
  },
  "hsl": {
    "h": 218.478,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70419,
    "c": 0.09454,
    "h": 261.7
  },
  "luminance": 0.34768
}

Semantic roles & 50–950 ramp

primary
#7FA0DB
secondary
#E9DFCD
accent
#8A22C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7FA0DB

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

Preview Lab → · Contrast checker → · Palette generator →

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