#7FA1EA#7FA1EA

#7FA1EA is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.3% C 0.114 H 264.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA1EA
RGBrgb(127, 161, 234)
HSLhsl(221, 72%, 71%)
HSVhsv(221, 46%, 92%)
CMYKcmyk(45.7%, 31.2%, 0%, 8.2%)
CIE-LABlab(66.47, 7.42, -40.39)
CIE-LCHlch(66.47, 41.07, 280.41°)
OKLaboklab(71.34% -0.0107 -0.1133)
OKLCHoklch(71.34% 0.114 264.6)
XYZxyz(36.3438, 35.9401, 82.8480)
Luminance0.3594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1EA #EAC87F
analogous
#7FD6EA #7FA1EA #927FEA
triadic
#7FA1EA #EA7FA1 #A1EA7F
tetradic
#7FA1EA #EA7FD6 #EAC87F #7FEA92
square
#7FA1EA #EA7FD6 #EAC87F #7FEA92
split-complementary
#7FA1EA #EA927F #D6EA7F
monochromatic
#2258CD #4A7AE1 #7FA1EA #B4C8F3 #E5ECFB

Accessibility & contrast

On white

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

On black

8.19
#7FA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1EA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1EA#FFFFFF#000000##000000
##7FA1EA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#56B0BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa1ea;
/* rgb */ color: rgb(127, 161, 234);
/* oklch */ color: oklch(71.3% 0.114 264.6);
Tailwind
colors: {
  custom: {
    50: '#a9bcf1',
    500: '#7fa1ea',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1ea;
$custom-light: #a9bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1ea",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 220.935,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.1138,
    "h": 264.6
  },
  "luminance": 0.35942
}

Semantic roles & 50–950 ramp

primary
#7FA1EA
secondary
#F1E8D4
accent
#9612D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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