#7FA1EB#7FA1EB

#7FA1EB is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.4% C 0.115 H 264.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7FA1EB
RGBrgb(127, 161, 235)
HSLhsl(221, 73%, 71%)
HSVhsv(221, 46%, 92%)
CMYKcmyk(46%, 31.5%, 0%, 7.8%)
CIE-LABlab(66.52, 7.71, -40.87)
CIE-LCHlch(66.52, 41.59, 280.68°)
OKLaboklab(71.39% -0.0104 -0.1147)
OKLCHoklch(71.39% 0.115 264.8)
XYZxyz(36.4878, 35.9977, 83.6067)
Luminance0.3600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1EB #EBC97F
analogous
#7FD7EB #7FA1EB #937FEB
triadic
#7FA1EB #EB7FA1 #A1EB7F
tetradic
#7FA1EB #EB7FD7 #EBC97F #7FEB93
square
#7FA1EB #EB7FD7 #EBC97F #7FEB93
split-complementary
#7FA1EB #EB937F #D7EB7F
monochromatic
#2057CF #4A7AE3 #7FA1EB #B4C8F3 #E5ECFB

Accessibility & contrast

On white

2.56
#7FA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#7FA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1EB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1EB#FFFFFF#000000##000000
##7FA1EB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#55B1BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa1eb;
/* rgb */ color: rgb(127, 161, 235);
/* oklch */ color: oklch(71.4% 0.115 264.8);
Tailwind
colors: {
  custom: {
    50: '#a9bcf1',
    500: '#7fa1eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1eb;
$custom-light: #a9bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1eb",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 221.111,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.11516,
    "h": 264.8
  },
  "luminance": 0.36
}

Semantic roles & 50–950 ramp

primary
#7FA1EB
secondary
#F1E8D5
accent
#9710D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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