#7FA3E7#7FA3E7

#7FA3E7 is a light, moderate blue. Relative luminance 0.365; OKLCH L 71.6% C 0.108 H 262.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7FA3E7
RGBrgb(127, 163, 231)
HSLhsl(219, 68%, 70%)
HSVhsv(219, 45%, 91%)
CMYKcmyk(45%, 29.4%, 0%, 9.4%)
CIE-LABlab(66.88, 5.42, -38.11)
CIE-LCHlch(66.88, 38.49, 278.09°)
OKLaboklab(71.61% -0.0139 -0.1067)
OKLCHoklch(71.61% 0.108 262.6)
XYZxyz(36.2687, 36.4737, 80.7148)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA3E7 #E7C37F
analogous
#7FD7E7 #7FA3E7 #8F7FE7
triadic
#7FA3E7 #E77FA3 #A3E77F
tetradic
#7FA3E7 #E77FD7 #E7C37F #7FE78F
square
#7FA3E7 #E77FD7 #E7C37F #7FE78F
split-complementary
#7FA3E7 #E78F7F #D7E77F
monochromatic
#255DC6 #4B7EDD #7FA3E7 #B3C8F1 #E5ECFA

Accessibility & contrast

On white

2.53
#7FA3E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#7FA3E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA3E7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA3E7#FFFFFF#000000##000000
##7FA3E71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA8EA
Deuteranopia (green-blind)
#7F9EE6
Tritanopia (blue-blind)
#57B1BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa3e7;
/* rgb */ color: rgb(127, 163, 231);
/* oklch */ color: oklch(71.6% 0.108 262.6);
Tailwind
colors: {
  custom: {
    50: '#a8beef',
    500: '#7fa3e7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa3e7;
$custom-light: #a8beef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa3e7",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 231
  },
  "hsl": {
    "h": 219.231,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.1076,
    "h": 262.6
  },
  "luminance": 0.36476
}

Semantic roles & 50–950 ramp

primary
#7FA3E7
secondary
#EFE5D2
accent
#9015D0
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA3E7

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

Preview Lab → · Contrast checker → · Palette generator →

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