#7FA1F7#7FA1F7

#7FA1F7 is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.0% C 0.131 H 266.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7FA1F7
RGBrgb(127, 161, 247)
HSLhsl(223, 88%, 73%)
HSVhsv(223, 49%, 97%)
CMYKcmyk(48.6%, 34.8%, 0%, 3.1%)
CIE-LABlab(67.06, 11.22, -46.58)
CIE-LCHlch(67.06, 47.91, 283.54°)
OKLaboklab(71.99% -0.0074 -0.1313)
OKLCHoklch(71.99% 0.131 266.8)
XYZxyz(38.2803, 36.7147, 93.0471)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1F7 #F7D57F
analogous
#7FDDF7 #7FA1F7 #997FF7
triadic
#7FA1F7 #F77FA1 #A1F77F
tetradic
#7FA1F7 #F77FDD #F7D57F #7FF799
square
#7FA1F7 #F77FDD #F7D57F #7FF799
split-complementary
#7FA1F7 #F7997F #DDF77F
monochromatic
#0F4EED #4577F3 #7FA1F7 #B9CBFB #E2EAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA1F7#FFFFFF#000000##000000
##7FA1F71.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)
#80A9FB
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#4CB3C0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa1f7;
/* rgb */ color: rgb(127, 161, 247);
/* oklch */ color: oklch(72.0% 0.131 266.8);
Tailwind
colors: {
  custom: {
    50: '#aabcfa',
    500: '#7fa1f7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1f7;
$custom-light: #aabcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1f7",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 223,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71986,
    "c": 0.13147,
    "h": 266.8
  },
  "luminance": 0.36717
}

Semantic roles & 50–950 ramp

primary
#7FA1F7
secondary
#F5ECD6
accent
#A401E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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