#7FA6EF#7FA6EF

#7FA6EF is a light, moderate blue. Relative luminance 0.380; OKLCH L 72.6% C 0.115 H 262.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7FA6EF
RGBrgb(127, 166, 239)
HSLhsl(219, 78%, 72%)
HSVhsv(219, 47%, 94%)
CMYKcmyk(46.9%, 30.5%, 0%, 6.3%)
CIE-LABlab(68.03, 6.02, -40.69)
CIE-LCHlch(68.03, 41.14, 278.42°)
OKLaboklab(72.62% -0.0153 -0.1142)
OKLCHoklch(72.62% 0.115 262.4)
XYZxyz(37.9635, 38.0140, 86.9816)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA6EF #EFC87F
analogous
#7FDEEF #7FA6EF #907FEF
triadic
#7FA6EF #EF7FA6 #A6EF7F
tetradic
#7FA6EF #EF7FDE #EFC87F #7FEF90
square
#7FA6EF #EF7FDE #EFC87F #7FEF90
split-complementary
#7FA6EF #EF907F #DEEF7F
monochromatic
#1B5DD9 #4980E8 #7FA6EF #B5CCF6 #E4ECFC

Accessibility & contrast

On white

2.44
#7FA6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#7FA6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA6EF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA6EF#FFFFFF#000000##000000
##7FA6EF1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF2
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#51B6C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa6ef;
/* rgb */ color: rgb(127, 166, 239);
/* oklch */ color: oklch(72.6% 0.115 262.4);
Tailwind
colors: {
  custom: {
    50: '#a9c0f4',
    500: '#7fa6ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa6ef;
$custom-light: #a9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa6ef",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 219.107,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.11518,
    "h": 262.4
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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