#7FA6F5#7FA6F5

#7FA6F5 is a light, vivid blue. Relative luminance 0.384; OKLCH L 72.9% C 0.123 H 263.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7FA6F5
RGBrgb(127, 166, 245)
HSLhsl(220, 86%, 73%)
HSVhsv(220, 48%, 96%)
CMYKcmyk(48.2%, 32.2%, 0%, 3.9%)
CIE-LABlab(68.30, 7.77, -43.55)
CIE-LCHlch(68.30, 44.24, 280.12°)
OKLaboklab(72.91% -0.0138 -0.1224)
OKLCHoklch(72.91% 0.123 263.6)
XYZxyz(38.8646, 38.3745, 91.7276)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6F5 #F5CE7F
analogous
#7FE1F5 #7FA6F5 #937FF5
triadic
#7FA6F5 #F57FA6 #A6F57F
tetradic
#7FA6F5 #F57FE1 #F5CE7F #7FF593
square
#7FA6F5 #F57FE1 #F5CE7F #7FF593
split-complementary
#7FA6F5 #F5937F #E1F57F
monochromatic
#1259E8 #467FF1 #7FA6F5 #B8CDF9 #E3EBFD

Accessibility & contrast

On white

2.42
#7FA6F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#7FA6F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6F5
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6F5#FFFFFF#000000##000000
##7FA6F51.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ACF8
Deuteranopia (green-blind)
#7BA2F3
Tritanopia (blue-blind)
#4DB7C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa6f5;
/* rgb */ color: rgb(127, 166, 245);
/* oklch */ color: oklch(72.9% 0.123 263.6);
Tailwind
colors: {
  custom: {
    50: '#aac0f9',
    500: '#7fa6f5',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6f5;
$custom-light: #aac0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6f5",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 245
  },
  "hsl": {
    "h": 220.169,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72913,
    "c": 0.12321,
    "h": 263.6
  },
  "luminance": 0.38377
}

Semantic roles & 50–950 ramp

primary
#7FA6F5
secondary
#F5EBD6
accent
#9803E2
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6F5

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

Preview Lab → · Contrast checker → · Palette generator →

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