#7FA2EB#7FA2EB

#7FA2EB is a light, moderate blue. Relative luminance 0.364; OKLCH L 71.6% C 0.114 H 264.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7FA2EB
RGBrgb(127, 162, 235)
HSLhsl(221, 73%, 71%)
HSVhsv(221, 46%, 92%)
CMYKcmyk(46%, 31.1%, 0%, 7.8%)
CIE-LABlab(66.79, 7.14, -40.45)
CIE-LCHlch(66.79, 41.08, 280.01°)
OKLaboklab(71.59% -0.0116 -0.1135)
OKLCHoklch(71.59% 0.114 264.1)
XYZxyz(36.6633, 36.3486, 83.6652)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2EB #EBC87F
analogous
#7FD8EB #7FA2EB #927FEB
triadic
#7FA2EB #EB7FA2 #A2EB7F
tetradic
#7FA2EB #EB7FD8 #EBC87F #7FEB92
square
#7FA2EB #EB7FD8 #EBC87F #7FEB92
split-complementary
#7FA2EB #EB927F #D8EB7F
monochromatic
#2059CF #4A7CE3 #7FA2EB #B4C8F3 #E5ECFB

Accessibility & contrast

On white

2.54
#7FA2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7FA2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2EB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2EB#FFFFFF#000000##000000
##7FA2EB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#55B1BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa2eb;
/* rgb */ color: rgb(127, 162, 235);
/* oklch */ color: oklch(71.6% 0.114 264.1);
Tailwind
colors: {
  custom: {
    50: '#a9bdf1',
    500: '#7fa2eb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2eb;
$custom-light: #a9bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2eb",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 220.556,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.11406,
    "h": 264.1
  },
  "luminance": 0.36351
}

Semantic roles & 50–950 ramp

primary
#7FA2EB
secondary
#F1E8D5
accent
#9510D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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