#7FA4E5#7FA4E5

#7FA4E5 is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.7% C 0.104 H 261.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7FA4E5
RGBrgb(127, 164, 229)
HSLhsl(218, 66%, 70%)
HSVhsv(218, 45%, 90%)
CMYKcmyk(44.5%, 28.4%, 0%, 10.2%)
CIE-LABlab(67.06, 4.28, -36.72)
CIE-LCHlch(67.06, 36.97, 276.65°)
OKLaboklab(71.73% -0.0157 -0.1027)
OKLCHoklch(71.73% 0.104 261.3)
XYZxyz(36.1661, 36.7179, 79.2951)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4E5 #E5C07F
analogous
#7FD7E5 #7FA4E5 #8D7FE5
triadic
#7FA4E5 #E57FA4 #A4E57F
tetradic
#7FA4E5 #E57FD7 #E5C07F #7FE58D
square
#7FA4E5 #E57FD7 #E5C07F #7FE58D
split-complementary
#7FA4E5 #E58D7F #D7E57F
monochromatic
#2760C2 #4C80DB #7FA4E5 #B2C8EF #E5ECFA

Accessibility & contrast

On white

2.52
#7FA4E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7FA4E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4E5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4E5#FFFFFF#000000##000000
##7FA4E51.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E8
Deuteranopia (green-blind)
#819FE4
Tritanopia (blue-blind)
#58B2BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa4e5;
/* rgb */ color: rgb(127, 164, 229);
/* oklch */ color: oklch(71.7% 0.104 261.3);
Tailwind
colors: {
  custom: {
    50: '#a8beed',
    500: '#7fa4e5',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4e5;
$custom-light: #a8beed;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4e5",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 229
  },
  "hsl": {
    "h": 218.235,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71726,
    "c": 0.10389,
    "h": 261.3
  },
  "luminance": 0.3672
}

Semantic roles & 50–950 ramp

primary
#7FA4E5
secondary
#EEE4D1
accent
#8C17CE
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA4E5

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

Preview Lab → · Contrast checker → · Palette generator →

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