#7FA7FD#7FA7FD

#7FA7FD is a light, vivid blue. Relative luminance 0.392; OKLCH L 73.5% C 0.133 H 264.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7FA7FD
RGBrgb(127, 167, 253)
HSLhsl(221, 97%, 75%)
HSVhsv(221, 50%, 99%)
CMYKcmyk(49.8%, 34%, 0%, 0.8%)
CIE-LABlab(68.92, 9.56, -46.92)
CIE-LCHlch(68.92, 47.88, 281.52°)
OKLaboklab(73.52% -0.0129 -0.1322)
OKLCHoklch(73.52% 0.133 264.4)
XYZxyz(40.2949, 39.2386, 98.3599)
Luminance0.3924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7FD #FDD57F
analogous
#7FE6FD #7FA7FD #967FFD
triadic
#7FA7FD #FD7FA7 #A7FD7F
tetradic
#7FA7FD #FD7FE6 #FDD57F #7FFD96
square
#7FA7FD #FD7FE6 #FDD57F #7FFD96
split-complementary
#7FA7FD #FD967F #E6FD7F
monochromatic
#0654FB #437EFC #7FA7FD #BBD0FE #E1EAFF

Accessibility & contrast

On white

2.37
#7FA7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#7FA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7FD
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7FD#FFFFFF#000000##000000
##7FA7FD1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#46B9C6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa7fd;
/* rgb */ color: rgb(127, 167, 253);
/* oklch */ color: oklch(73.5% 0.133 264.4);
Tailwind
colors: {
  custom: {
    50: '#abc0fe',
    500: '#7fa7fd',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7fd;
$custom-light: #abc0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7fd",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 220.952,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7352,
    "c": 0.13284,
    "h": 264.4
  },
  "luminance": 0.39241
}

Semantic roles & 50–950 ramp

primary
#7FA7FD
secondary
#F7ECD4
accent
#9D00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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