#7FA6DF#7FA6DF

#7FA6DF is a light, moderate blue. Relative luminance 0.371; OKLCH L 71.9% C 0.094 H 257.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7FA6DF
RGBrgb(127, 166, 223)
HSLhsl(216, 60%, 69%)
HSVhsv(216, 43%, 87%)
CMYKcmyk(43%, 25.6%, 0%, 12.5%)
CIE-LABlab(67.36, 1.46, -32.97)
CIE-LCHlch(67.36, 33.00, 272.53°)
OKLaboklab(71.88% -0.0199 -0.0919)
OKLCHoklch(71.88% 0.094 257.8)
XYZxyz(35.7036, 37.1101, 75.0794)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6DF #DFB87F
analogous
#7FD6DF #7FA6DF #887FDF
triadic
#7FA6DF #DF7FA6 #A6DF7F
tetradic
#7FA6DF #DF7FD6 #DFB87F #7FDF88
square
#7FA6DF #DF7FD6 #DFB87F #7FDF88
split-complementary
#7FA6DF #DF887F #D6DF7F
monochromatic
#2E65B6 #4E84D3 #7FA6DF #B0C8EB #E1EAF7

Accessibility & contrast

On white

2.49
#7FA6DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7FA6DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6DF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6DF#FFFFFF#000000##000000
##7FA6DF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#86A0DE
Tritanopia (blue-blind)
#5BB2BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa6df;
/* rgb */ color: rgb(127, 166, 223);
/* oklch */ color: oklch(71.9% 0.094 257.8);
Tailwind
colors: {
  custom: {
    50: '#a8c0e9',
    500: '#7fa6df',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6df;
$custom-light: #a8c0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6df",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 223
  },
  "hsl": {
    "h": 215.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.09403,
    "h": 257.8
  },
  "luminance": 0.37112
}

Semantic roles & 50–950 ramp

primary
#7FA6DF
secondary
#EBE0CF
accent
#831EC8
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA6DF

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

Preview Lab → · Contrast checker → · Palette generator →

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