#7FA2E4#7FA2E4

#7FA2E4 is a light, moderate blue. Relative luminance 0.360; OKLCH L 71.3% C 0.105 H 262.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA2E4
RGBrgb(127, 162, 228)
HSLhsl(219, 65%, 70%)
HSVhsv(219, 44%, 89%)
CMYKcmyk(44.3%, 28.9%, 0%, 10.6%)
CIE-LABlab(66.48, 5.13, -37.08)
CIE-LCHlch(66.48, 37.43, 277.88°)
OKLaboklab(71.26% -0.0135 -0.1037)
OKLCHoklch(71.26% 0.105 262.6)
XYZxyz(35.6718, 35.9520, 78.4435)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2E4 #E4C17F
analogous
#7FD4E4 #7FA2E4 #8F7FE4
triadic
#7FA2E4 #E47FA2 #A2E47F
tetradic
#7FA2E4 #E47FD4 #E4C17F #7FE48F
square
#7FA2E4 #E47FD4 #E4C17F #7FE48F
split-complementary
#7FA2E4 #E48F7F #D4E47F
monochromatic
#295DC0 #4C7DD9 #7FA2E4 #B2C7EF #E4EBF9

Accessibility & contrast

On white

2.56
#7FA2E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#7FA2E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2E4
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2E4#FFFFFF#000000##000000
##7FA2E41.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E7
Deuteranopia (green-blind)
#7F9DE3
Tritanopia (blue-blind)
#59B0B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa2e4;
/* rgb */ color: rgb(127, 162, 228);
/* oklch */ color: oklch(71.3% 0.105 262.6);
Tailwind
colors: {
  custom: {
    50: '#a8bdec',
    500: '#7fa2e4',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2e4;
$custom-light: #a8bdec;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2e4",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 228
  },
  "hsl": {
    "h": 219.208,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71258,
    "c": 0.10461,
    "h": 262.6
  },
  "luminance": 0.35954
}

Semantic roles & 50–950 ramp

primary
#7FA2E4
secondary
#EEE4D1
accent
#8E19CD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2E4

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

Preview Lab → · Contrast checker → · Palette generator →

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