#7FA3FE#7FA3FE

#7FA3FE is a light, vivid blue. Relative luminance 0.379; OKLCH L 72.8% C 0.139 H 266.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7FA3FE
RGBrgb(127, 163, 254)
HSLhsl(223, 98%, 75%)
HSVhsv(223, 50%, 100%)
CMYKcmyk(50%, 35.8%, 0%, 0.4%)
CIE-LABlab(67.92, 12.15, -49.05)
CIE-LCHlch(67.92, 50.53, 283.91°)
OKLaboklab(72.76% -0.0081 -0.1384)
OKLCHoklch(72.76% 0.139 266.6)
XYZxyz(39.7331, 37.8595, 98.9606)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA3FE #FEDA7F
analogous
#7FE3FE #7FA3FE #9B7FFE
triadic
#7FA3FE #FE7FA3 #A3FE7F
tetradic
#7FA3FE #FE7FE3 #FEDA7F #7FFE9B
square
#7FA3FE #FE7FE3 #FEDA7F #7FFE9B
split-complementary
#7FA3FE #FE9B7F #E3FE7F
monochromatic
#064CFD #4277FE #7FA3FE #BCCFFE #E1E9FF

Accessibility & contrast

On white

2.45
#7FA3FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#7FA3FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA3FE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA3FE#FFFFFF#000000##000000
##7FA3FE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#72A0FC
Tritanopia (blue-blind)
#46B6C5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa3fe;
/* rgb */ color: rgb(127, 163, 254);
/* oklch */ color: oklch(72.8% 0.139 266.6);
Tailwind
colors: {
  custom: {
    50: '#abbdff',
    500: '#7fa3fe',
    950: '#000000',
  },
}
SCSS
$custom: #7fa3fe;
$custom-light: #abbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa3fe",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 254
  },
  "hsl": {
    "h": 222.992,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72755,
    "c": 0.13867,
    "h": 266.6
  },
  "luminance": 0.37862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA3FE

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

Preview Lab → · Contrast checker → · Palette generator →

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