#7FA2E1#7FA2E1

#7FA2E1 is a light, moderate blue. Relative luminance 0.358; OKLCH L 71.1% C 0.101 H 261.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7FA2E1
RGBrgb(127, 162, 225)
HSLhsl(219, 62%, 69%)
HSVhsv(219, 44%, 88%)
CMYKcmyk(43.6%, 28%, 0%, 11.8%)
CIE-LABlab(66.36, 4.28, -35.63)
CIE-LCHlch(66.36, 35.88, 276.85°)
OKLaboklab(71.12% -0.0144 -0.0995)
OKLCHoklch(71.12% 0.101 261.8)
XYZxyz(35.2590, 35.7869, 76.2692)
Luminance0.3579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2E1 #E1BE7F
analogous
#7FD3E1 #7FA2E1 #8D7FE1
triadic
#7FA2E1 #E17FA2 #A2E17F
tetradic
#7FA2E1 #E17FD3 #E1BE7F #7FE18D
square
#7FA2E1 #E17FD3 #E1BE7F #7FE18D
split-complementary
#7FA2E1 #E18D7F #D3E17F
monochromatic
#2C5EBA #4D7ED5 #7FA2E1 #B1C6ED #E2EAF8

Accessibility & contrast

On white

2.57
#7FA2E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7FA2E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2E1
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2E1#FFFFFF#000000##000000
##7FA2E11.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E4
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#5BAFB8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fa2e1;
/* rgb */ color: rgb(127, 162, 225);
/* oklch */ color: oklch(71.1% 0.101 261.8);
Tailwind
colors: {
  custom: {
    50: '#a8bdea',
    500: '#7fa2e1',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2e1;
$custom-light: #a8bdea;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2e1",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 225
  },
  "hsl": {
    "h": 218.571,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71118,
    "c": 0.10057,
    "h": 261.8
  },
  "luminance": 0.35789
}

Semantic roles & 50–950 ramp

primary
#7FA2E1
secondary
#ECE2D0
accent
#8C1CCA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2E1

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

Preview Lab → · Contrast checker → · Palette generator →

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