#7FA4EC#7FA4EC

#7FA4EC is a light, moderate blue. Relative luminance 0.371; OKLCH L 72.1% C 0.113 H 263.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7FA4EC
RGBrgb(127, 164, 236)
HSLhsl(220, 74%, 71%)
HSVhsv(220, 46%, 93%)
CMYKcmyk(46.2%, 30.5%, 0%, 7.5%)
CIE-LABlab(67.36, 6.29, -40.09)
CIE-LCHlch(67.36, 40.59, 278.91°)
OKLaboklab(72.06% -0.0138 -0.1124)
OKLCHoklch(72.06% 0.113 263)
XYZxyz(37.1632, 37.1167, 84.5466)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4EC #ECC77F
analogous
#7FDAEC #7FA4EC #907FEC
triadic
#7FA4EC #EC7FA4 #A4EC7F
tetradic
#7FA4EC #EC7FDA #ECC77F #7FEC90
square
#7FA4EC #EC7FDA #ECC77F #7FEC90
split-complementary
#7FA4EC #EC907F #DAEC7F
monochromatic
#1F5CD2 #4A7EE4 #7FA4EC #B4CAF4 #E4ECFB

Accessibility & contrast

On white

2.49
#7FA4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7FA4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4EC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4EC#FFFFFF#000000##000000
##7FA4EC1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAEF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#54B3BE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa4ec;
/* rgb */ color: rgb(127, 164, 236);
/* oklch */ color: oklch(72.1% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#a9bef2',
    500: '#7fa4ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4ec;
$custom-light: #a9bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4ec",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 219.633,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72058,
    "c": 0.11327,
    "h": 263
  },
  "luminance": 0.37119
}

Semantic roles & 50–950 ramp

primary
#7FA4EC
secondary
#F2E8D5
accent
#930FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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