#7E7EA3#7E7EA3

#7E7EA3 is a mid, muted blue. Relative luminance 0.220; OKLCH L 60.7% C 0.056 H 284.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E7EA3
RGBrgb(126, 126, 163)
HSLhsl(240, 17%, 57%)
HSVhsv(240, 23%, 64%)
CMYKcmyk(22.7%, 22.7%, 0%, 36.1%)
CIE-LABlab(54.03, 8.25, -19.70)
CIE-LCHlch(54.03, 21.35, 292.74°)
OKLaboklab(60.68% 0.0141 -0.054)
OKLCHoklch(60.68% 0.056 284.6)
XYZxyz(22.6743, 22.0013, 37.6953)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EA3 #A3A37E
analogous
#7E91A3 #7E7EA3 #917EA3
triadic
#7E7EA3 #A37E7E #7EA37E
tetradic
#7E7EA3 #A37E91 #A3A37E #7EA391
square
#7E7EA3 #A37E91 #A3A37E #7EA391
split-complementary
#7E7EA3 #A3917E #91A37E
monochromatic
#454561 #5F5F85 #7E7EA3 #A2A2BC #C5C5D6

Accessibility & contrast

On white

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

On black

5.40
#7E7EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EA3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EA3#FFFFFF#000000##000000
##7E7EA31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A5
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#76848B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e7ea3;
/* rgb */ color: rgb(126, 126, 163);
/* oklch */ color: oklch(60.7% 0.056 284.6);
Tailwind
colors: {
  custom: {
    50: '#a4a3be',
    500: '#7e7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ea3;
$custom-light: #a4a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ea3",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 16.742,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.05584,
    "h": 284.6
  },
  "luminance": 0.22002
}

Semantic roles & 50–950 ramp

primary
#7E7EA3
secondary
#C6C6B7
accent
#B96EB9
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7E7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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