#7FA1FB#7FA1FB

#7FA1FB is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.2% C 0.137 H 267.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7FA1FB
RGBrgb(127, 161, 251)
HSLhsl(224, 94%, 74%)
HSVhsv(224, 49%, 98%)
CMYKcmyk(49.4%, 35.9%, 0%, 1.6%)
CIE-LABlab(67.25, 12.40, -48.47)
CIE-LCHlch(67.25, 50.03, 284.36°)
OKLaboklab(72.19% -0.0065 -0.1367)
OKLCHoklch(72.19% 0.137 267.3)
XYZxyz(38.9042, 36.9642, 96.3329)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1FB #FBD97F
analogous
#7FDFFB #7FA1FB #9B7FFB
triadic
#7FA1FB #FB7FA1 #A1FB7F
tetradic
#7FA1FB #FB7FDF #FBD97F #7FFB9B
square
#7FA1FB #FB7FDF #FBD97F #7FFB9B
split-complementary
#7FA1FB #FB9B7F #DFFB7F
monochromatic
#084AF7 #4475F9 #7FA1FB #BACDFD #E1E9FE

Accessibility & contrast

On white

2.50
#7FA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7FA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1FB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1FB#FFFFFF#000000##000000
##7FA1FB1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#49B4C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa1fb;
/* rgb */ color: rgb(127, 161, 251);
/* oklch */ color: oklch(72.2% 0.137 267.3);
Tailwind
colors: {
  custom: {
    50: '#aabcfd',
    500: '#7fa1fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1fb;
$custom-light: #aabcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1fb",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 223.548,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72193,
    "c": 0.13691,
    "h": 267.3
  },
  "luminance": 0.36967
}

Semantic roles & 50–950 ramp

primary
#7FA1FB
secondary
#F6EDD5
accent
#A700E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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