#7FA3EC#7FA3EC

#7FA3EC is a light, moderate blue. Relative luminance 0.368; OKLCH L 71.9% C 0.114 H 263.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7FA3EC
RGBrgb(127, 163, 236)
HSLhsl(220, 74%, 71%)
HSVhsv(220, 46%, 93%)
CMYKcmyk(46.2%, 30.9%, 0%, 7.5%)
CIE-LABlab(67.10, 6.86, -40.51)
CIE-LCHlch(67.10, 41.09, 279.61°)
OKLaboklab(71.85% -0.0126 -0.1136)
OKLCHoklch(71.85% 0.114 263.7)
XYZxyz(36.9850, 36.7602, 84.4872)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA3EC #ECC87F
analogous
#7FDAEC #7FA3EC #917FEC
triadic
#7FA3EC #EC7FA3 #A3EC7F
tetradic
#7FA3EC #EC7FDA #ECC87F #7FEC91
square
#7FA3EC #EC7FDA #ECC87F #7FEC91
split-complementary
#7FA3EC #EC917F #DAEC7F
monochromatic
#1F5AD2 #4A7DE4 #7FA3EC #B4C9F4 #E4ECFB

Accessibility & contrast

On white

2.51
#7FA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#7FA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA3EC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA3EC#FFFFFF#000000##000000
##7FA3EC1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#54B3BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa3ec;
/* rgb */ color: rgb(127, 163, 236);
/* oklch */ color: oklch(71.9% 0.114 263.7);
Tailwind
colors: {
  custom: {
    50: '#a9bef2',
    500: '#7fa3ec',
    950: '#000000',
  },
}
SCSS
$custom: #7fa3ec;
$custom-light: #a9bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa3ec",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 220.183,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7185,
    "c": 0.11434,
    "h": 263.7
  },
  "luminance": 0.36763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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