#7FA4FE#7FA4FE

#7FA4FE is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.0% C 0.138 H 266.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7FA4FE
RGBrgb(127, 164, 254)
HSLhsl(223, 98%, 75%)
HSVhsv(223, 50%, 100%)
CMYKcmyk(50%, 35.4%, 0%, 0.4%)
CIE-LABlab(68.18, 11.57, -48.63)
CIE-LCHlch(68.18, 49.99, 283.39°)
OKLaboklab(72.96% -0.0093 -0.1372)
OKLCHoklch(72.96% 0.138 266.1)
XYZxyz(39.9114, 38.2160, 99.0200)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA4FE #FED97F
analogous
#7FE3FE #7FA4FE #9A7FFE
triadic
#7FA4FE #FE7FA4 #A4FE7F
tetradic
#7FA4FE #FE7FE3 #FED97F #7FFE9A
square
#7FA4FE #FE7FE3 #FED97F #7FFE9A
split-complementary
#7FA4FE #FE9A7F #E3FE7F
monochromatic
#064EFD #4279FE #7FA4FE #BCCFFE #E1E9FF

Accessibility & contrast

On white

2.43
#7FA4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#7FA4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA4FE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA4FE#FFFFFF#000000##000000
##7FA4FE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#46B7C5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa4fe;
/* rgb */ color: rgb(127, 164, 254);
/* oklch */ color: oklch(73.0% 0.138 266.1);
Tailwind
colors: {
  custom: {
    50: '#abbeff',
    500: '#7fa4fe',
    950: '#000000',
  },
}
SCSS
$custom: #7fa4fe;
$custom-light: #abbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa4fe",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 222.52,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72958,
    "c": 0.13753,
    "h": 266.1
  },
  "luminance": 0.38219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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