#7FA6F4#7FA6F4

#7FA6F4 is a light, vivid blue. Relative luminance 0.383; OKLCH L 72.9% C 0.122 H 263.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7FA6F4
RGBrgb(127, 166, 244)
HSLhsl(220, 84%, 73%)
HSVhsv(220, 48%, 96%)
CMYKcmyk(48%, 32%, 0%, 4.3%)
CIE-LABlab(68.25, 7.48, -43.08)
CIE-LCHlch(68.25, 43.72, 279.85°)
OKLaboklab(72.86% -0.014 -0.1211)
OKLCHoklch(72.86% 0.122 263.4)
XYZxyz(38.7124, 38.3136, 90.9257)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6F4 #F4CD7F
analogous
#7FE1F4 #7FA6F4 #927FF4
triadic
#7FA6F4 #F47FA6 #A6F47F
tetradic
#7FA6F4 #F47FE1 #F4CD7F #7FF492
square
#7FA6F4 #F47FE1 #F4CD7F #7FF492
split-complementary
#7FA6F4 #F4927F #E1F47F
monochromatic
#1459E5 #477FEF #7FA6F4 #B7CDF9 #E3EBFD

Accessibility & contrast

On white

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

On black

8.66
#7FA6F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6F4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6F4#FFFFFF#000000##000000
##7FA6F41.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF7
Deuteranopia (green-blind)
#7CA1F2
Tritanopia (blue-blind)
#4EB7C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa6f4;
/* rgb */ color: rgb(127, 166, 244);
/* oklch */ color: oklch(72.9% 0.122 263.4);
Tailwind
colors: {
  custom: {
    50: '#aac0f8',
    500: '#7fa6f4',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6f4;
$custom-light: #aac0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6f4",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 244
  },
  "hsl": {
    "h": 220,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.12187,
    "h": 263.4
  },
  "luminance": 0.38316
}

Semantic roles & 50–950 ramp

primary
#7FA6F4
secondary
#F5EBD6
accent
#9705E1
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6F4

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

Preview Lab → · Contrast checker → · Palette generator →

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