#7FA4EF#7FA4EF

#7FA4EF is a light, moderate blue. Relative luminance 0.373; OKLCH L 72.2% C 0.117 H 263.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA4EF
RGBrgb(127, 164, 239)
HSLhsl(220, 78%, 72%)
HSVhsv(220, 47%, 94%)
CMYKcmyk(46.9%, 31.4%, 0%, 6.3%)
CIE-LABlab(67.50, 7.16, -41.53)
CIE-LCHlch(67.50, 42.14, 279.78°)
OKLaboklab(72.2% -0.013 -0.1166)
OKLCHoklch(72.2% 0.117 263.7)
XYZxyz(37.6028, 37.2926, 86.8614)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4EF #EFCA7F
analogous
#7FDCEF #7FA4EF #927FEF
triadic
#7FA4EF #EF7FA4 #A4EF7F
tetradic
#7FA4EF #EF7FDC #EFCA7F #7FEF92
square
#7FA4EF #EF7FDC #EFCA7F #7FEF92
split-complementary
#7FA4EF #EF927F #DCEF7F
monochromatic
#1B5AD9 #497DE8 #7FA4EF #B5CBF6 #E4ECFC

Accessibility & contrast

On white

2.48
#7FA4EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7FA4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4EF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4EF#FFFFFF#000000##000000
##7FA4EF1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#52B4BF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa4ef;
/* rgb */ color: rgb(127, 164, 239);
/* oklch */ color: oklch(72.2% 0.117 263.7);
Tailwind
colors: {
  custom: {
    50: '#a9bef4',
    500: '#7fa4ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4ef;
$custom-light: #a9bef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4ef",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 220.179,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.11731,
    "h": 263.7
  },
  "luminance": 0.37295
}

Semantic roles & 50–950 ramp

primary
#7FA4EF
secondary
#F3EAD7
accent
#960BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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