#7FA7EB#7FA7EB

#7FA7EB is a light, moderate blue. Relative luminance 0.381; OKLCH L 72.6% C 0.109 H 260.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7FA7EB
RGBrgb(127, 167, 235)
HSLhsl(218, 73%, 71%)
HSVhsv(218, 46%, 92%)
CMYKcmyk(46%, 28.9%, 0%, 7.8%)
CIE-LABlab(68.13, 4.30, -38.36)
CIE-LCHlch(68.13, 38.60, 276.40°)
OKLaboklab(72.64% -0.0176 -0.1074)
OKLCHoklch(72.64% 0.109 260.7)
XYZxyz(37.5616, 38.1452, 83.9647)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7EB #EBC37F
analogous
#7FDDEB #7FA7EB #8D7FEB
triadic
#7FA7EB #EB7FA7 #A7EB7F
tetradic
#7FA7EB #EB7FDD #EBC37F #7FEB8D
square
#7FA7EB #EB7FDD #EBC37F #7FEB8D
split-complementary
#7FA7EB #EB8D7F #DDEB7F
monochromatic
#2061CF #4A83E3 #7FA7EB #B4CBF3 #E5EDFB

Accessibility & contrast

On white

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

On black

8.63
#7FA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7EB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7EB#FFFFFF#000000##000000
##7FA7EB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#54B6BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa7eb;
/* rgb */ color: rgb(127, 167, 235);
/* oklch */ color: oklch(72.6% 0.109 260.7);
Tailwind
colors: {
  custom: {
    50: '#a9c0f1',
    500: '#7fa7eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7eb;
$custom-light: #a9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7eb",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 217.778,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72639,
    "c": 0.10884,
    "h": 260.7
  },
  "luminance": 0.38148
}

Semantic roles & 50–950 ramp

primary
#7FA7EB
secondary
#F1E7D5
accent
#8C10D5
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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