#7FA4EB#7FA4EB

#7FA4EB is a light, moderate blue. Relative luminance 0.371; OKLCH L 72.0% C 0.112 H 262.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7FA4EB
RGBrgb(127, 164, 235)
HSLhsl(219, 73%, 71%)
HSVhsv(219, 46%, 92%)
CMYKcmyk(46%, 30.2%, 0%, 7.8%)
CIE-LABlab(67.32, 6.00, -39.62)
CIE-LCHlch(67.32, 40.07, 278.61°)
OKLaboklab(72.01% -0.014 -0.111)
OKLCHoklch(72.01% 0.112 262.8)
XYZxyz(37.0184, 37.0588, 83.7836)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4EB #EBC67F
analogous
#7FDAEB #7FA4EB #907FEB
triadic
#7FA4EB #EB7FA4 #A4EB7F
tetradic
#7FA4EB #EB7FDA #EBC67F #7FEB90
square
#7FA4EB #EB7FDA #EBC67F #7FEB90
split-complementary
#7FA4EB #EB907F #DAEB7F
monochromatic
#205CCF #4A7EE3 #7FA4EB #B4CAF3 #E5ECFB

Accessibility & contrast

On white

2.50
#7FA4EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#7FA4EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4EB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4EB#FFFFFF#000000##000000
##7FA4EB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9EE
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#54B3BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa4eb;
/* rgb */ color: rgb(127, 164, 235);
/* oklch */ color: oklch(72.0% 0.112 262.8);
Tailwind
colors: {
  custom: {
    50: '#a9bef1',
    500: '#7fa4eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4eb;
$custom-light: #a9bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4eb",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 235
  },
  "hsl": {
    "h": 219.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.11192,
    "h": 262.8
  },
  "luminance": 0.37061
}

Semantic roles & 50–950 ramp

primary
#7FA4EB
secondary
#F1E7D5
accent
#9210D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA4EB

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

Preview Lab → · Contrast checker → · Palette generator →

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