#7FA5EC#7FA5EC

#7FA5EC is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.3% C 0.112 H 262.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7FA5EC
RGBrgb(127, 165, 236)
HSLhsl(219, 74%, 71%)
HSVhsv(219, 46%, 93%)
CMYKcmyk(46.2%, 30.1%, 0%, 7.5%)
CIE-LABlab(67.63, 5.72, -39.68)
CIE-LCHlch(67.63, 40.09, 278.21°)
OKLaboklab(72.27% -0.0149 -0.1112)
OKLCHoklch(72.27% 0.112 262.3)
XYZxyz(37.3429, 37.4761, 84.6065)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5EC #ECC67F
analogous
#7FDBEC #7FA5EC #8F7FEC
triadic
#7FA5EC #EC7FA5 #A5EC7F
tetradic
#7FA5EC #EC7FDB #ECC67F #7FEC8F
square
#7FA5EC #EC7FDB #ECC67F #7FEC8F
split-complementary
#7FA5EC #EC8F7F #DBEC7F
monochromatic
#1F5DD2 #4A80E4 #7FA5EC #B4CAF4 #E4ECFB

Accessibility & contrast

On white

2.47
#7FA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#7FA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5EC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5EC#FFFFFF#000000##000000
##7FA5EC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEF
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#54B4BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa5ec;
/* rgb */ color: rgb(127, 165, 236);
/* oklch */ color: oklch(72.3% 0.112 262.3);
Tailwind
colors: {
  custom: {
    50: '#a9bff2',
    500: '#7fa5ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5ec;
$custom-light: #a9bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5ec",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 219.083,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72267,
    "c": 0.11222,
    "h": 262.3
  },
  "luminance": 0.37478
}

Semantic roles & 50–950 ramp

primary
#7FA5EC
secondary
#F2E8D5
accent
#910FD6
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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