#7A7BA2#7A7BA2

#7A7BA2 is a mid, muted blue. Relative luminance 0.209; OKLCH L 59.7% C 0.059 H 283.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7A7BA2
RGBrgb(122, 123, 162)
HSLhsl(239, 18%, 56%)
HSVhsv(239, 25%, 64%)
CMYKcmyk(24.7%, 24.1%, 0%, 36.5%)
CIE-LABlab(52.85, 8.48, -20.94)
CIE-LCHlch(52.85, 22.60, 292.04°)
OKLaboklab(59.67% 0.0136 -0.0576)
OKLCHoklch(59.67% 0.059 283.3)
XYZxyz(21.6290, 20.9117, 37.0722)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7BA2 #A2A17A
analogous
#7A8FA2 #7A7BA2 #8D7AA2
triadic
#7A7BA2 #A27A7B #7BA27A
tetradic
#7A7BA2 #A27A8F #A2A17A #7AA28D
square
#7A7BA2 #A27A8F #A2A17A #7AA28D
split-complementary
#7A7BA2 #A28D7A #8FA27A
monochromatic
#42435F #5C5D83 #7A7BA2 #9E9FBB #C2C2D4

Accessibility & contrast

On white

4.05
#7A7BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7A7BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7BA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7BA2#FFFFFF#000000##000000
##7A7BA21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#717FA4
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#718288
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a7ba2;
/* rgb */ color: rgb(122, 123, 162);
/* oklch */ color: oklch(59.7% 0.059 283.3);
Tailwind
colors: {
  custom: {
    50: '#a1a1bd',
    500: '#7a7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ba2;
$custom-light: #a1a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ba2",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 238.5,
    "s": 17.699,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.05919,
    "h": 283.3
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#7A7BA2
secondary
#C4C4B4
accent
#B86DBA
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0E12
muted
#7E7E81

Preview Lab

Preview with #7A7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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