#7FA1E7#7FA1E7

#7FA1E7 is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.2% C 0.110 H 264.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7FA1E7
RGBrgb(127, 161, 231)
HSLhsl(220, 68%, 70%)
HSVhsv(220, 45%, 91%)
CMYKcmyk(45%, 30.3%, 0%, 9.4%)
CIE-LABlab(66.34, 6.56, -38.95)
CIE-LCHlch(66.34, 39.50, 279.55°)
OKLaboklab(71.19% -0.0115 -0.1091)
OKLCHoklch(71.19% 0.11 264)
XYZxyz(35.9164, 35.7691, 80.5974)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1E7 #E7C57F
analogous
#7FD5E7 #7FA1E7 #917FE7
triadic
#7FA1E7 #E77FA1 #A1E77F
tetradic
#7FA1E7 #E77FD5 #E7C57F #7FE791
square
#7FA1E7 #E77FD5 #E7C57F #7FE791
split-complementary
#7FA1E7 #E7917F #D5E77F
monochromatic
#255AC6 #4B7BDD #7FA1E7 #B3C7F1 #E5ECFA

Accessibility & contrast

On white

2.58
#7FA1E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7FA1E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1E7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1E7#FFFFFF#000000##000000
##7FA1E71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A6EA
Deuteranopia (green-blind)
#7C9DE5
Tritanopia (blue-blind)
#57B0BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa1e7;
/* rgb */ color: rgb(127, 161, 231);
/* oklch */ color: oklch(71.2% 0.110 264.0);
Tailwind
colors: {
  custom: {
    50: '#a8bcef',
    500: '#7fa1e7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1e7;
$custom-light: #a8bcef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1e7",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 231
  },
  "hsl": {
    "h": 220.385,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71191,
    "c": 0.10973,
    "h": 264
  },
  "luminance": 0.35771
}

Semantic roles & 50–950 ramp

primary
#7FA1E7
secondary
#EFE6D2
accent
#9315D0
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA1E7

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

Preview Lab → · Contrast checker → · Palette generator →

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