#7FA7DF#7FA7DF

#7FA7DF is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.1% C 0.093 H 256.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7FA7DF
RGBrgb(127, 167, 223)
HSLhsl(215, 60%, 69%)
HSVhsv(215, 43%, 87%)
CMYKcmyk(43%, 25.1%, 0%, 12.5%)
CIE-LABlab(67.63, 0.90, -32.55)
CIE-LCHlch(67.63, 32.56, 271.58°)
OKLaboklab(72.09% -0.0211 -0.0907)
OKLCHoklch(72.09% 0.093 256.9)
XYZxyz(35.8861, 37.4750, 75.1402)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7DF #DFB77F
analogous
#7FD7DF #7FA7DF #877FDF
triadic
#7FA7DF #DF7FA7 #A7DF7F
tetradic
#7FA7DF #DF7FD7 #DFB77F #7FDF87
square
#7FA7DF #DF7FD7 #DFB77F #7FDF87
split-complementary
#7FA7DF #DF877F #D7DF7F
monochromatic
#2E66B6 #4E85D3 #7FA7DF #B0C9EB #E1EAF7

Accessibility & contrast

On white

2.47
#7FA7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#7FA7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7DF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7DF#FFFFFF#000000##000000
##7FA7DF1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#87A1DE
Tritanopia (blue-blind)
#5BB3BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa7df;
/* rgb */ color: rgb(127, 167, 223);
/* oklch */ color: oklch(72.1% 0.093 256.9);
Tailwind
colors: {
  custom: {
    50: '#a8c1e9',
    500: '#7fa7df',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7df;
$custom-light: #a8c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7df",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 215,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72088,
    "c": 0.09312,
    "h": 256.9
  },
  "luminance": 0.37477
}

Semantic roles & 50–950 ramp

primary
#7FA7DF
secondary
#EBDFCF
accent
#811EC8
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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