#7FA2EC#7FA2EC

#7FA2EC is a light, moderate blue. Relative luminance 0.364; OKLCH L 71.6% C 0.115 H 264.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7FA2EC
RGBrgb(127, 162, 236)
HSLhsl(221, 74%, 71%)
HSVhsv(221, 46%, 93%)
CMYKcmyk(46.2%, 31.4%, 0%, 7.5%)
CIE-LABlab(66.83, 7.43, -40.93)
CIE-LCHlch(66.83, 41.60, 280.28°)
OKLaboklab(71.64% -0.0114 -0.1149)
OKLCHoklch(71.64% 0.115 264.4)
XYZxyz(36.8081, 36.4065, 84.4282)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2EC #ECC97F
analogous
#7FD8EC #7FA2EC #927FEC
triadic
#7FA2EC #EC7FA2 #A2EC7F
tetradic
#7FA2EC #EC7FD8 #ECC97F #7FEC92
square
#7FA2EC #EC7FD8 #ECC97F #7FEC92
split-complementary
#7FA2EC #EC927F #D8EC7F
monochromatic
#1F58D2 #4A7BE4 #7FA2EC #B4C9F4 #E4ECFB

Accessibility & contrast

On white

2.54
#7FA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7FA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2EC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2EC#FFFFFF#000000##000000
##7FA2EC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#54B2BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa2ec;
/* rgb */ color: rgb(127, 162, 236);
/* oklch */ color: oklch(71.6% 0.115 264.4);
Tailwind
colors: {
  custom: {
    50: '#a9bdf2',
    500: '#7fa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2ec;
$custom-light: #a9bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2ec",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 220.734,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71642,
    "c": 0.11542,
    "h": 264.4
  },
  "luminance": 0.36409
}

Semantic roles & 50–950 ramp

primary
#7FA2EC
secondary
#F2E9D5
accent
#960FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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