#7FA2E5#7FA2E5

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

Color values

HEX#7FA2E5
RGBrgb(127, 162, 229)
HSLhsl(219, 66%, 70%)
HSVhsv(219, 45%, 90%)
CMYKcmyk(44.5%, 29.3%, 0%, 10.2%)
CIE-LABlab(66.53, 5.41, -37.56)
CIE-LCHlch(66.53, 37.95, 278.20°)
OKLaboklab(71.3% -0.0133 -0.1051)
OKLCHoklch(71.3% 0.106 262.8)
XYZxyz(35.8110, 36.0077, 79.1767)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2E5 #E5C27F
analogous
#7FD5E5 #7FA2E5 #8F7FE5
triadic
#7FA2E5 #E57FA2 #A2E57F
tetradic
#7FA2E5 #E57FD5 #E5C27F #7FE58F
square
#7FA2E5 #E57FD5 #E5C27F #7FE58F
split-complementary
#7FA2E5 #E58F7F #D5E57F
monochromatic
#275DC2 #4C7DDB #7FA2E5 #B2C7EF #E5ECFA

Accessibility & contrast

On white

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

On black

8.20
#7FA2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2E5
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2E5#FFFFFF#000000##000000
##7FA2E51.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7E8
Deuteranopia (green-blind)
#7E9EE4
Tritanopia (blue-blind)
#58B0BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fa2e5;
/* rgb */ color: rgb(127, 162, 229);
/* oklch */ color: oklch(71.3% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#a8bded',
    500: '#7fa2e5',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2e5;
$custom-light: #a8bded;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2e5",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 219.412,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71305,
    "c": 0.10595,
    "h": 262.8
  },
  "luminance": 0.3601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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