#7FA2DA#7FA2DA

#7FA2DA is a light, moderate blue. Relative luminance 0.354; OKLCH L 70.8% C 0.091 H 259.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7FA2DA
RGBrgb(127, 162, 218)
HSLhsl(217, 55%, 68%)
HSVhsv(217, 42%, 85%)
CMYKcmyk(41.7%, 25.7%, 0%, 14.5%)
CIE-LABlab(66.07, 2.31, -32.21)
CIE-LCHlch(66.07, 32.30, 274.11°)
OKLaboklab(70.8% -0.0165 -0.0897)
OKLCHoklch(70.8% 0.091 259.6)
XYZxyz(34.3236, 35.4127, 71.3428)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2DA #DAB77F
analogous
#7FD0DA #7FA2DA #897FDA
triadic
#7FA2DA #DA7FA2 #A2DA7F
tetradic
#7FA2DA #DA7FD0 #DAB77F #7FDA89
square
#7FA2DA #DA7FD0 #DAB77F #7FDA89
split-complementary
#7FA2DA #DA897F #D0DA7F
monochromatic
#3261AD #5080CC #7FA2DA #AEC4E8 #DEE7F5

Accessibility & contrast

On white

2.60
#7FA2DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#7FA2DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2DA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2DA#FFFFFF#000000##000000
##7FA2DA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA5DC
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#5FAEB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa2da;
/* rgb */ color: rgb(127, 162, 218);
/* oklch */ color: oklch(70.8% 0.091 259.6);
Tailwind
colors: {
  custom: {
    50: '#a7bde5',
    500: '#7fa2da',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2da;
$custom-light: #a7bde5;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2da",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 218
  },
  "hsl": {
    "h": 216.923,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70798,
    "c": 0.09123,
    "h": 259.6
  },
  "luminance": 0.35415
}

Semantic roles & 50–950 ramp

primary
#7FA2DA
secondary
#E9DECC
accent
#8523C3
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2DA

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

Preview Lab → · Contrast checker → · Palette generator →

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