#7D7EA2#7D7EA2

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

Color values

HEX#7D7EA2
RGBrgb(125, 126, 162)
HSLhsl(238, 17%, 56%)
HSVhsv(238, 23%, 64%)
CMYKcmyk(22.8%, 22.2%, 0%, 36.5%)
CIE-LABlab(53.91, 7.68, -19.30)
CIE-LCHlch(53.91, 20.78, 291.71°)
OKLaboklab(60.55% 0.0126 -0.0529)
OKLCHoklch(60.55% 0.054 283.4)
XYZxyz(22.4383, 21.8899, 37.2184)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7EA2 #A2A17D
analogous
#7D91A2 #7D7EA2 #8F7DA2
triadic
#7D7EA2 #A27D7E #7EA27D
tetradic
#7D7EA2 #A27D91 #A2A17D #7DA28F
square
#7D7EA2 #A27D91 #A2A17D #7DA28F
split-complementary
#7D7EA2 #A28F7D #91A27D
monochromatic
#454560 #5E5F84 #7D7EA2 #A1A1BC #C4C5D5

Accessibility & contrast

On white

3.90
#7D7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7D7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7EA2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7EA2#FFFFFF#000000##000000
##7D7EA21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7ea2;
/* rgb */ color: rgb(125, 126, 162);
/* oklch */ color: oklch(60.6% 0.054 283.4);
Tailwind
colors: {
  custom: {
    50: '#a3a3bd',
    500: '#7d7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ea2;
$custom-light: #a3a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ea2",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 238.378,
    "s": 16.592,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.05442,
    "h": 283.4
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#7D7EA2
secondary
#C5C5B6
accent
#B76EB9
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7D7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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