#7FA1FD#7FA1FD

#7FA1FD is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.3% C 0.140 H 267.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7FA1FD
RGBrgb(127, 161, 253)
HSLhsl(224, 97%, 75%)
HSVhsv(224, 50%, 99%)
CMYKcmyk(49.8%, 36.4%, 0%, 0.8%)
CIE-LABlab(67.35, 13.00, -49.40)
CIE-LCHlch(67.35, 51.09, 284.74°)
OKLaboklab(72.3% -0.0061 -0.1395)
OKLCHoklch(72.3% 0.14 267.5)
XYZxyz(39.2211, 37.0910, 98.0020)
Luminance0.3709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1FD #FDDB7F
analogous
#7FE0FD #7FA1FD #9C7FFD
triadic
#7FA1FD #FD7FA1 #A1FD7F
tetradic
#7FA1FD #FD7FE0 #FDDB7F #7FFD9C
square
#7FA1FD #FD7FE0 #FDDB7F #7FFD9C
split-complementary
#7FA1FD #FD9C7F #E0FD7F
monochromatic
#0648FB #4375FC #7FA1FD #BBCDFE #E1E9FF

Accessibility & contrast

On white

2.49
#7FA1FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7FA1FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1FD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1FD#FFFFFF#000000##000000
##7FA1FD1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#47B5C3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa1fd;
/* rgb */ color: rgb(127, 161, 253);
/* oklch */ color: oklch(72.3% 0.140 267.5);
Tailwind
colors: {
  custom: {
    50: '#abbcfe',
    500: '#7fa1fd',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1fd;
$custom-light: #abbcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1fd",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 253
  },
  "hsl": {
    "h": 223.81,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.13962,
    "h": 267.5
  },
  "luminance": 0.37094
}

Semantic roles & 50–950 ramp

primary
#7FA1FD
secondary
#F7EDD4
accent
#A800E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA1FD

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

Preview Lab → · Contrast checker → · Palette generator →

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