#7FA2E7#7FA2E7

#7FA2E7 is a light, moderate blue. Relative luminance 0.361; OKLCH L 71.4% C 0.109 H 263.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7FA2E7
RGBrgb(127, 162, 231)
HSLhsl(220, 68%, 70%)
HSVhsv(220, 45%, 91%)
CMYKcmyk(45%, 29.9%, 0%, 9.4%)
CIE-LABlab(66.61, 5.99, -38.53)
CIE-LCHlch(66.61, 38.99, 278.83°)
OKLaboklab(71.4% -0.0127 -0.1079)
OKLCHoklch(71.4% 0.109 263.3)
XYZxyz(36.0919, 36.1200, 80.6559)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2E7 #E7C47F
analogous
#7FD6E7 #7FA2E7 #907FE7
triadic
#7FA2E7 #E77FA2 #A2E77F
tetradic
#7FA2E7 #E77FD6 #E7C47F #7FE790
square
#7FA2E7 #E77FD6 #E7C47F #7FE790
split-complementary
#7FA2E7 #E7907F #D6E77F
monochromatic
#255BC6 #4B7DDD #7FA2E7 #B3C7F1 #E5ECFA

Accessibility & contrast

On white

2.55
#7FA2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7FA2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2E7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2E7#FFFFFF#000000##000000
##7FA2E71.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7EA
Deuteranopia (green-blind)
#7D9EE5
Tritanopia (blue-blind)
#57B1BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa2e7;
/* rgb */ color: rgb(127, 162, 231);
/* oklch */ color: oklch(71.4% 0.109 263.3);
Tailwind
colors: {
  custom: {
    50: '#a8bdef',
    500: '#7fa2e7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2e7;
$custom-light: #a8bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2e7",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 219.808,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.714,
    "c": 0.10866,
    "h": 263.3
  },
  "luminance": 0.36122
}

Semantic roles & 50–950 ramp

primary
#7FA2E7
secondary
#EFE6D2
accent
#9115D0
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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