#7B7EA2#7B7EA2

#7B7EA2 is a mid, muted blue. Relative luminance 0.217; OKLCH L 60.4% C 0.055 H 280.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7B7EA2
RGBrgb(123, 126, 162)
HSLhsl(235, 17%, 56%)
HSVhsv(235, 24%, 64%)
CMYKcmyk(24.1%, 22.2%, 0%, 36.5%)
CIE-LABlab(53.75, 7.04, -19.56)
CIE-LCHlch(53.75, 20.79, 289.79°)
OKLaboklab(60.39% 0.0103 -0.0537)
OKLCHoklch(60.39% 0.055 280.9)
XYZxyz(22.1492, 21.7408, 37.2049)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7EA2 #A29F7B
analogous
#7B91A2 #7B7EA2 #8B7BA2
triadic
#7B7EA2 #A27B7E #7EA27B
tetradic
#7B7EA2 #A27B91 #A29F7B #7BA28B
square
#7B7EA2 #A27B91 #A29F7B #7BA28B
split-complementary
#7B7EA2 #A28B7B #91A27B
monochromatic
#43455F #5D5F83 #7B7EA2 #9FA1BB #C3C4D5

Accessibility & contrast

On white

3.93
#7B7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7B7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7EA2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7EA2#FFFFFF#000000##000000
##7B7EA21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A4
Deuteranopia (green-blind)
#737FA1
Tritanopia (blue-blind)
#72848A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b7ea2;
/* rgb */ color: rgb(123, 126, 162);
/* oklch */ color: oklch(60.4% 0.055 280.9);
Tailwind
colors: {
  custom: {
    50: '#a2a3bd',
    500: '#7b7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ea2;
$custom-light: #a2a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ea2",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 235.385,
    "s": 17.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.05468,
    "h": 280.9
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#7B7EA2
secondary
#C4C3B4
accent
#B46EBA
background
#FAFAFB
surface
#F3F3F6
border
#CDCDD0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #7B7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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