#7FA2D7#7FA2D7

#7FA2D7 is a light, moderate blue. Relative luminance 0.353; OKLCH L 70.7% C 0.087 H 258.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7FA2D7
RGBrgb(127, 162, 215)
HSLhsl(216, 52%, 67%)
HSVhsv(216, 41%, 84%)
CMYKcmyk(40.9%, 24.7%, 0%, 15.7%)
CIE-LABlab(65.95, 1.48, -30.74)
CIE-LCHlch(65.95, 30.78, 272.76°)
OKLaboklab(70.66% -0.0174 -0.0855)
OKLCHoklch(70.66% 0.087 258.5)
XYZxyz(33.9346, 35.2571, 69.2940)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2D7 #D7B47F
analogous
#7FCED7 #7FA2D7 #887FD7
triadic
#7FA2D7 #D77FA2 #A2D77F
tetradic
#7FA2D7 #D77FCE #D7B47F #7FD788
square
#7FA2D7 #D77FCE #D7B47F #7FD788
split-complementary
#7FA2D7 #D7887F #CED77F
monochromatic
#3462A7 #5080C8 #7FA2D7 #AEC4E6 #DCE6F4

Accessibility & contrast

On white

2.61
#7FA2D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7FA2D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2D7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2D7#FFFFFF#000000##000000
##7FA2D71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA5D9
Deuteranopia (green-blind)
#859CD6
Tritanopia (blue-blind)
#60ADB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fa2d7;
/* rgb */ color: rgb(127, 162, 215);
/* oklch */ color: oklch(70.7% 0.087 258.5);
Tailwind
colors: {
  custom: {
    50: '#a7bde3',
    500: '#7fa2d7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2d7;
$custom-light: #a7bde3;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2d7",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 215
  },
  "hsl": {
    "h": 216.136,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70664,
    "c": 0.08727,
    "h": 258.5
  },
  "luminance": 0.35259
}

Semantic roles & 50–950 ramp

primary
#7FA2D7
secondary
#E7DCCB
accent
#8326C0
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #7FA2D7

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

Preview Lab → · Contrast checker → · Palette generator →

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