#7FA6F2#7FA6F2

#7FA6F2 is a light, moderate blue. Relative luminance 0.382; OKLCH L 72.8% C 0.119 H 263.0°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7FA6F2
RGBrgb(127, 166, 242)
HSLhsl(220, 82%, 72%)
HSVhsv(220, 48%, 95%)
CMYKcmyk(47.5%, 31.4%, 0%, 5.1%)
CIE-LABlab(68.16, 6.89, -42.13)
CIE-LCHlch(68.16, 42.69, 279.29°)
OKLaboklab(72.77% -0.0145 -0.1183)
OKLCHoklch(72.77% 0.119 263)
XYZxyz(38.4104, 38.1928, 89.3351)
Luminance0.3820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6F2 #F2CB7F
analogous
#7FE0F2 #7FA6F2 #927FF2
triadic
#7FA6F2 #F27FA6 #A6F27F
tetradic
#7FA6F2 #F27FE0 #F2CB7F #7FF292
square
#7FA6F2 #F27FE0 #F2CB7F #7FF292
split-complementary
#7FA6F2 #F2927F #E0F27F
monochromatic
#175BE0 #477FEC #7FA6F2 #B7CDF8 #E3ECFC

Accessibility & contrast

On white

2.43
#7FA6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#7FA6F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6F2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6F2#FFFFFF#000000##000000
##7FA6F21.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#4FB6C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa6f2;
/* rgb */ color: rgb(127, 166, 242);
/* oklch */ color: oklch(72.8% 0.119 263.0);
Tailwind
colors: {
  custom: {
    50: '#a9c0f6',
    500: '#7fa6f2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6f2;
$custom-light: #a9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6f2",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 242
  },
  "hsl": {
    "h": 219.652,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72766,
    "c": 0.1192,
    "h": 263
  },
  "luminance": 0.38195
}

Semantic roles & 50–950 ramp

primary
#7FA6F2
secondary
#F4EAD7
accent
#9508DE
background
#FAFBFF
surface
#F4F7FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA6F2

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

Preview Lab → · Contrast checker → · Palette generator →

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