#7FA4E1#7FA4E1

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

Color values

HEX#7FA4E1
RGBrgb(127, 164, 225)
HSLhsl(217, 62%, 69%)
HSVhsv(217, 44%, 88%)
CMYKcmyk(43.6%, 27.1%, 0%, 11.8%)
CIE-LABlab(66.90, 3.15, -34.78)
CIE-LCHlch(66.90, 34.93, 275.17°)
OKLaboklab(71.54% -0.0169 -0.0971)
OKLCHoklch(71.54% 0.099 260.2)
XYZxyz(35.6141, 36.4971, 76.3876)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4E1 #E1BC7F
analogous
#7FD5E1 #7FA4E1 #8B7FE1
triadic
#7FA4E1 #E17FA4 #A4E17F
tetradic
#7FA4E1 #E17FD5 #E1BC7F #7FE18B
square
#7FA4E1 #E17FD5 #E1BC7F #7FE18B
split-complementary
#7FA4E1 #E18B7F #D5E17F
monochromatic
#2C61BA #4D81D5 #7FA4E1 #B1C7ED #E2EAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA4E1#FFFFFF#000000##000000
##7FA4E11.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)
#8EA8E4
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#5AB1B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa4e1;
/* rgb */ color: rgb(127, 164, 225);
/* oklch */ color: oklch(71.5% 0.099 260.2);
Tailwind
colors: {
  custom: {
    50: '#a8beea',
    500: '#7fa4e1',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4e1;
$custom-light: #a8beea;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4e1",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 225
  },
  "hsl": {
    "h": 217.347,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.09857,
    "h": 260.2
  },
  "luminance": 0.36499
}

Semantic roles & 50–950 ramp

primary
#7FA4E1
secondary
#ECE1D0
accent
#881CCA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4E1

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

Preview Lab → · Contrast checker → · Palette generator →

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