#7FA7EF#7FA7EF

#7FA7EF is a light, moderate blue. Relative luminance 0.384; OKLCH L 72.8% C 0.114 H 261.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7FA7EF
RGBrgb(127, 167, 239)
HSLhsl(219, 78%, 72%)
HSVhsv(219, 47%, 94%)
CMYKcmyk(46.9%, 30.1%, 0%, 6.3%)
CIE-LABlab(68.30, 5.46, -40.27)
CIE-LCHlch(68.30, 40.64, 277.71°)
OKLaboklab(72.83% -0.0165 -0.1129)
OKLCHoklch(72.83% 0.114 261.7)
XYZxyz(38.1460, 38.3790, 87.0424)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA7EF #EFC77F
analogous
#7FDFEF #7FA7EF #8F7FEF
triadic
#7FA7EF #EF7FA7 #A7EF7F
tetradic
#7FA7EF #EF7FDF #EFC77F #7FEF8F
square
#7FA7EF #EF7FDF #EFC77F #7FEF8F
split-complementary
#7FA7EF #EF8F7F #DFEF7F
monochromatic
#1B5FD9 #4982E8 #7FA7EF #B5CCF6 #E4ECFC

Accessibility & contrast

On white

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

On black

8.68
#7FA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA7EF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA7EF#FFFFFF#000000##000000
##7FA7EF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#7FA2ED
Tritanopia (blue-blind)
#51B6C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa7ef;
/* rgb */ color: rgb(127, 167, 239);
/* oklch */ color: oklch(72.8% 0.114 261.7);
Tailwind
colors: {
  custom: {
    50: '#a9c0f4',
    500: '#7fa7ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa7ef;
$custom-light: #a9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa7ef",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 218.571,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.11414,
    "h": 261.7
  },
  "luminance": 0.38381
}

Semantic roles & 50–950 ramp

primary
#7FA7EF
secondary
#F3E9D7
accent
#900BDA
background
#FAFBFE
surface
#F4F7FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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