#7FA2EF#7FA2EF

#7FA2EF is a light, moderate blue. Relative luminance 0.366; OKLCH L 71.8% C 0.119 H 264.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FA2EF
RGBrgb(127, 162, 239)
HSLhsl(221, 78%, 72%)
HSVhsv(221, 47%, 94%)
CMYKcmyk(46.9%, 32.2%, 0%, 6.3%)
CIE-LABlab(66.96, 8.30, -42.37)
CIE-LCHlch(66.96, 43.17, 281.08°)
OKLaboklab(71.79% -0.0106 -0.119)
OKLCHoklch(71.79% 0.119 264.9)
XYZxyz(37.2477, 36.5823, 86.7430)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2EF #EFCC7F
analogous
#7FDAEF #7FA2EF #947FEF
triadic
#7FA2EF #EF7FA2 #A2EF7F
tetradic
#7FA2EF #EF7FDA #EFCC7F #7FEF94
square
#7FA2EF #EF7FDA #EFCC7F #7FEF94
split-complementary
#7FA2EF #EF947F #DAEF7F
monochromatic
#1B56D9 #497AE8 #7FA2EF #B5CAF6 #E4EBFC

Accessibility & contrast

On white

2.52
#7FA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7FA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2EF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2EF#FFFFFF#000000##000000
##7FA2EF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#52B2BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa2ef;
/* rgb */ color: rgb(127, 162, 239);
/* oklch */ color: oklch(71.8% 0.119 264.9);
Tailwind
colors: {
  custom: {
    50: '#a9bdf4',
    500: '#7fa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2ef;
$custom-light: #a9bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2ef",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 221.25,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.11949,
    "h": 264.9
  },
  "luminance": 0.36585
}

Semantic roles & 50–950 ramp

primary
#7FA2EF
secondary
#F3EAD7
accent
#990BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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