#7FA2DB#7FA2DB

#7FA2DB is a light, moderate blue. Relative luminance 0.355; OKLCH L 70.8% C 0.093 H 259.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7FA2DB
RGBrgb(127, 162, 219)
HSLhsl(217, 56%, 68%)
HSVhsv(217, 42%, 86%)
CMYKcmyk(42%, 26%, 0%, 14.1%)
CIE-LABlab(66.11, 2.59, -32.70)
CIE-LCHlch(66.11, 32.80, 274.53°)
OKLaboklab(70.84% -0.0162 -0.0911)
OKLCHoklch(70.84% 0.093 259.9)
XYZxyz(34.4548, 35.4652, 72.0341)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2DB #DBB87F
analogous
#7FD0DB #7FA2DB #8A7FDB
triadic
#7FA2DB #DB7FA2 #A2DB7F
tetradic
#7FA2DB #DB7FD0 #DBB87F #7FDB8A
square
#7FA2DB #DB7FD0 #DBB87F #7FDB8A
split-complementary
#7FA2DB #DB8A7F #D0DB7F
monochromatic
#3161AF #4F7FCE #7FA2DB #AFC5E8 #DFE7F6

Accessibility & contrast

On white

2.59
#7FA2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#7FA2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2DB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2DB#FFFFFF#000000##000000
##7FA2DB1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DE
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#5EAEB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa2db;
/* rgb */ color: rgb(127, 162, 219);
/* oklch */ color: oklch(70.8% 0.093 259.9);
Tailwind
colors: {
  custom: {
    50: '#a7bde6',
    500: '#7fa2db',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2db;
$custom-light: #a7bde6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2db",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 219
  },
  "hsl": {
    "h": 217.174,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70843,
    "c": 0.09256,
    "h": 259.9
  },
  "luminance": 0.35467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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