#7FA2D4#7FA2D4

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

Color values

HEX#7FA2D4
RGBrgb(127, 162, 212)
HSLhsl(215, 50%, 66%)
HSVhsv(215, 40%, 83%)
CMYKcmyk(40.1%, 23.6%, 0%, 16.9%)
CIE-LABlab(65.83, 0.66, -29.26)
CIE-LCHlch(65.83, 29.27, 271.29°)
OKLaboklab(70.53% -0.0183 -0.0813)
OKLCHoklch(70.53% 0.083 257.3)
XYZxyz(33.5526, 35.1043, 67.2824)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2D4 #D4B17F
analogous
#7FCDD4 #7FA2D4 #877FD4
triadic
#7FA2D4 #D47FA2 #A2D47F
tetradic
#7FA2D4 #D47FCD #D4B17F #7FD487
square
#7FA2D4 #D47FCD #D4B17F #7FD487
split-complementary
#7FA2D4 #D4877F #CDD47F
monochromatic
#3663A2 #5181C5 #7FA2D4 #ADC3E3 #DBE5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA2D4#FFFFFF#000000##000000
##7FA2D41.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)
#90A4D6
Deuteranopia (green-blind)
#869CD3
Tritanopia (blue-blind)
#62ADB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fa2d4;
/* rgb */ color: rgb(127, 162, 212);
/* oklch */ color: oklch(70.5% 0.083 257.3);
Tailwind
colors: {
  custom: {
    50: '#a7bde1',
    500: '#7fa2d4',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2d4;
$custom-light: #a7bde1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2d4",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 212
  },
  "hsl": {
    "h": 215.294,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.08334,
    "h": 257.3
  },
  "luminance": 0.35106
}

Semantic roles & 50–950 ramp

primary
#7FA2D4
secondary
#E5DACA
accent
#8028BD
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #7FA2D4

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

Preview Lab → · Contrast checker → · Palette generator →

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