#7FA7FB#7FA7FB

#7FA7FB is a light, vivid blue. Relative luminance 0.391; OKLCH L 73.4% C 0.130 H 264.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7FA7FB
RGBrgb(127, 167, 251)
HSLhsl(221, 94%, 74%)
HSVhsv(221, 49%, 98%)
CMYKcmyk(49.4%, 33.5%, 0%, 1.6%)
CIE-LABlab(68.83, 8.97, -45.98)
CIE-LCHlch(68.83, 46.84, 281.04°)
OKLaboklab(73.42% -0.0134 -0.1295)
OKLCHoklch(73.42% 0.13 264.1)
XYZxyz(39.9779, 39.1118, 96.6908)
Luminance0.3911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7FB #FBD37F
analogous
#7FE5FB #7FA7FB #957FFB
triadic
#7FA7FB #FB7FA7 #A7FB7F
tetradic
#7FA7FB #FB7FE5 #FBD37F #7FFB95
square
#7FA7FB #FB7FE5 #FBD37F #7FFB95
split-complementary
#7FA7FB #FB957F #E5FB7F
monochromatic
#0855F7 #447EF9 #7FA7FB #BAD0FD #E1EBFE

Accessibility & contrast

On white

2.38
#7FA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#7FA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7FB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7FB#FFFFFF#000000##000000
##7FA7FB1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#48B9C5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa7fb;
/* rgb */ color: rgb(127, 167, 251);
/* oklch */ color: oklch(73.4% 0.130 264.1);
Tailwind
colors: {
  custom: {
    50: '#aac0fd',
    500: '#7fa7fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7fb;
$custom-light: #aac0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7fb",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 220.645,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73419,
    "c": 0.13016,
    "h": 264.1
  },
  "luminance": 0.39114
}

Semantic roles & 50–950 ramp

primary
#7FA7FB
secondary
#F6EBD5
accent
#9B00E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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