#7FA7FA#7FA7FA

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

Color values

HEX#7FA7FA
RGBrgb(127, 167, 250)
HSLhsl(220, 92%, 74%)
HSVhsv(220, 49%, 98%)
CMYKcmyk(49.2%, 33.2%, 0%, 2%)
CIE-LABlab(68.79, 8.67, -45.50)
CIE-LCHlch(68.79, 46.32, 280.79°)
OKLaboklab(73.37% -0.0137 -0.1281)
OKLCHoklch(73.37% 0.129 263.9)
XYZxyz(39.8207, 39.0489, 95.8628)
Luminance0.3905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7FA #FAD27F
analogous
#7FE4FA #7FA7FA #957FFA
triadic
#7FA7FA #FA7FA7 #A7FA7F
tetradic
#7FA7FA #FA7FE4 #FAD27F #7FFA95
square
#7FA7FA #FA7FE4 #FAD27F #7FFA95
split-complementary
#7FA7FA #FA957F #E4FA7F
monochromatic
#0A56F5 #447FF8 #7FA7FA #BACFFC #E2EBFE

Accessibility & contrast

On white

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

On black

8.81
#7FA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7FA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7FA#FFFFFF#000000##000000
##7FA7FA1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#49B9C5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fa7fa;
/* rgb */ color: rgb(127, 167, 250);
/* oklch */ color: oklch(73.4% 0.129 263.9);
Tailwind
colors: {
  custom: {
    50: '#aac0fc',
    500: '#7fa7fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7fa;
$custom-light: #aac0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7fa",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 220.488,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.12883,
    "h": 263.9
  },
  "luminance": 0.39052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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