#7E7EA2#7E7EA2

#7E7EA2 is a mid, muted blue. Relative luminance 0.220; OKLCH L 60.6% C 0.054 H 284.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7E7EA2
RGBrgb(126, 126, 162)
HSLhsl(240, 16%, 56%)
HSVhsv(240, 22%, 64%)
CMYKcmyk(22.2%, 22.2%, 0%, 36.5%)
CIE-LABlab(53.99, 8.01, -19.17)
CIE-LCHlch(53.99, 20.78, 292.67°)
OKLaboklab(60.63% 0.0138 -0.0526)
OKLCHoklch(60.63% 0.054 284.7)
XYZxyz(22.5850, 21.9656, 37.2253)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EA2 #A2A27E
analogous
#7E90A2 #7E7EA2 #907EA2
triadic
#7E7EA2 #A27E7E #7EA27E
tetradic
#7E7EA2 #A27E90 #A2A27E #7EA290
square
#7E7EA2 #A27E90 #A2A27E #7EA290
split-complementary
#7E7EA2 #A2907E #90A27E
monochromatic
#454560 #5F5F84 #7E7EA2 #A2A2BC #C5C5D5

Accessibility & contrast

On white

3.89
#7E7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7E7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EA2#FFFFFF#000000##000000
##7E7EA21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A4
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#76848A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e7ea2;
/* rgb */ color: rgb(126, 126, 162);
/* oklch */ color: oklch(60.6% 0.054 284.7);
Tailwind
colors: {
  custom: {
    50: '#a4a3bd',
    500: '#7e7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ea2;
$custom-light: #a4a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ea2",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.05433,
    "h": 284.7
  },
  "luminance": 0.21966
}

Semantic roles & 50–950 ramp

primary
#7E7EA2
secondary
#C5C5B7
accent
#B96FB9
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7E7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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