#7FA1FA#7FA1FA

#7FA1FA is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.1% C 0.136 H 267.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA1FA
RGBrgb(127, 161, 250)
HSLhsl(223, 92%, 74%)
HSVhsv(223, 49%, 98%)
CMYKcmyk(49.2%, 35.6%, 0%, 2%)
CIE-LABlab(67.20, 12.11, -48.00)
CIE-LCHlch(67.20, 49.50, 284.16°)
OKLaboklab(72.14% -0.0068 -0.1354)
OKLCHoklch(72.14% 0.136 267.1)
XYZxyz(38.7470, 36.9013, 95.5049)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1FA #FAD87F
analogous
#7FDEFA #7FA1FA #9B7FFA
triadic
#7FA1FA #FA7FA1 #A1FA7F
tetradic
#7FA1FA #FA7FDE #FAD87F #7FFA9B
square
#7FA1FA #FA7FDE #FAD87F #7FFA9B
split-complementary
#7FA1FA #FA9B7F #DEFA7F
monochromatic
#0A4BF5 #4476F8 #7FA1FA #BACCFC #E2E9FE

Accessibility & contrast

On white

2.51
#7FA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7FA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1FA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1FA#FFFFFF#000000##000000
##7FA1FA1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#4AB4C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa1fa;
/* rgb */ color: rgb(127, 161, 250);
/* oklch */ color: oklch(72.1% 0.136 267.1);
Tailwind
colors: {
  custom: {
    50: '#aabcfc',
    500: '#7fa1fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1fa;
$custom-light: #aabcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1fa",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 223.415,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72141,
    "c": 0.13555,
    "h": 267.1
  },
  "luminance": 0.36904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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