#766EA1#766EA1

#766EA1 is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.6% C 0.078 H 290.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#766EA1
RGBrgb(118, 110, 161)
HSLhsl(249, 21%, 53%)
HSVhsv(249, 32%, 63%)
CMYKcmyk(26.7%, 31.7%, 0%, 36.9%)
CIE-LABlab(48.98, 14.71, -26.36)
CIE-LCHlch(48.98, 30.19, 299.16°)
OKLaboklab(56.58% 0.0279 -0.073)
OKLCHoklch(56.58% 0.078 290.9)
XYZxyz(19.4786, 17.5763, 36.0776)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EA1 #99A16E
analogous
#6E7FA1 #766EA1 #8F6EA1
triadic
#766EA1 #A1766E #6EA176
tetradic
#766EA1 #A16E7F #99A16E #6EA18F
square
#766EA1 #A16E7F #99A16E #6EA18F
split-complementary
#766EA1 #A18F6E #7FA16E
monochromatic
#3F3A5A #5A537F #766EA1 #9993B9 #BCB8D1

Accessibility & contrast

On white

4.65
#766EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#766EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #766EA1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EA1#FFFFFF#000000##FFFFFF
##766EA11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6175A3
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#6D7780
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #766ea1;
/* rgb */ color: rgb(118, 110, 161);
/* oklch */ color: oklch(56.6% 0.078 290.9);
Tailwind
colors: {
  custom: {
    50: '#9e97bd',
    500: '#766ea1',
    950: '#000000',
  },
}
SCSS
$custom: #766ea1;
$custom-light: #9e97bd;
$custom-dark: #000000;
JSON
{
  "hex": "#766ea1",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 249.412,
    "s": 21.339,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.07818,
    "h": 290.9
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#766EA1
secondary
#BDC0AA
accent
#BE6AB1
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0D12
muted
#7E7E81

Preview Lab

Preview with #766EA1

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

Preview Lab → · Contrast checker → · Palette generator →

#766EA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva