#7FA2E8#7FA2E8

#7FA2E8 is a light, moderate blue. Relative luminance 0.362; OKLCH L 71.4% C 0.110 H 263.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7FA2E8
RGBrgb(127, 162, 232)
HSLhsl(220, 70%, 70%)
HSVhsv(220, 45%, 91%)
CMYKcmyk(45.3%, 30.2%, 0%, 9%)
CIE-LABlab(66.65, 6.27, -39.01)
CIE-LCHlch(66.65, 39.51, 279.14°)
OKLaboklab(71.45% -0.0124 -0.1093)
OKLCHoklch(71.45% 0.11 263.5)
XYZxyz(36.2335, 36.1767, 81.4018)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2E8 #E8C57F
analogous
#7FD6E8 #7FA2E8 #907FE8
triadic
#7FA2E8 #E87FA2 #A2E87F
tetradic
#7FA2E8 #E87FD6 #E8C57F #7FE890
square
#7FA2E8 #E87FD6 #E8C57F #7FE890
split-complementary
#7FA2E8 #E8907F #D6E87F
monochromatic
#245BC9 #4B7CDF #7FA2E8 #B3C8F1 #E5ECFA

Accessibility & contrast

On white

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

On black

8.24
#7FA2E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2E8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2E8#FFFFFF#000000##000000
##7FA2E81.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A7EB
Deuteranopia (green-blind)
#7D9EE6
Tritanopia (blue-blind)
#57B1BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa2e8;
/* rgb */ color: rgb(127, 162, 232);
/* oklch */ color: oklch(71.4% 0.110 263.5);
Tailwind
colors: {
  custom: {
    50: '#a9bdef',
    500: '#7fa2e8',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2e8;
$custom-light: #a9bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2e8",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 232
  },
  "hsl": {
    "h": 220,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71448,
    "c": 0.11,
    "h": 263.5
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

primary
#7FA2E8
secondary
#F0E6D3
accent
#9214D2
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7FA2E8

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

Preview Lab → · Contrast checker → · Palette generator →

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