#7FA4E7#7FA4E7

#7FA4E7 is a light, moderate blue. Relative luminance 0.368; OKLCH L 71.8% C 0.107 H 261.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7FA4E7
RGBrgb(127, 164, 231)
HSLhsl(219, 68%, 70%)
HSVhsv(219, 45%, 91%)
CMYKcmyk(45%, 29%, 0%, 9.4%)
CIE-LABlab(67.15, 4.85, -37.69)
CIE-LCHlch(67.15, 38.00, 277.34°)
OKLaboklab(71.82% -0.0151 -0.1055)
OKLCHoklch(71.82% 0.107 261.8)
XYZxyz(36.4470, 36.8302, 80.7742)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4E7 #E7C27F
analogous
#7FD8E7 #7FA4E7 #8E7FE7
triadic
#7FA4E7 #E77FA4 #A4E77F
tetradic
#7FA4E7 #E77FD8 #E7C27F #7FE78E
square
#7FA4E7 #E77FD8 #E7C27F #7FE78E
split-complementary
#7FA4E7 #E78E7F #D8E77F
monochromatic
#255FC6 #4B7FDD #7FA4E7 #B3C9F1 #E5EDFA

Accessibility & contrast

On white

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

On black

8.37
#7FA4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4E7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4E7#FFFFFF#000000##000000
##7FA4E71.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA9EA
Deuteranopia (green-blind)
#809FE6
Tritanopia (blue-blind)
#57B2BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa4e7;
/* rgb */ color: rgb(127, 164, 231);
/* oklch */ color: oklch(71.8% 0.107 261.8);
Tailwind
colors: {
  custom: {
    50: '#a8beef',
    500: '#7fa4e7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4e7;
$custom-light: #a8beef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4e7",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 231
  },
  "hsl": {
    "h": 218.654,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7182,
    "c": 0.10656,
    "h": 261.8
  },
  "luminance": 0.36832
}

Semantic roles & 50–950 ramp

primary
#7FA4E7
secondary
#EFE5D2
accent
#8E15D0
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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