#766EA6#766EA6

#766EA6 is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.8% C 0.086 H 289.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#766EA6
RGBrgb(118, 110, 166)
HSLhsl(249, 24%, 54%)
HSVhsv(249, 34%, 65%)
CMYKcmyk(28.9%, 33.7%, 0%, 34.9%)
CIE-LABlab(49.20, 16.01, -28.95)
CIE-LCHlch(49.20, 33.08, 298.94°)
OKLaboklab(56.82% 0.0292 -0.0805)
OKLCHoklch(56.82% 0.086 289.9)
XYZxyz(19.9283, 17.7562, 38.4463)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EA6 #9EA66E
analogous
#6E82A6 #766EA6 #926EA6
triadic
#766EA6 #A6766E #6EA676
tetradic
#766EA6 #A66E82 #9EA66E #6EA692
square
#766EA6 #A66E82 #9EA66E #6EA692
split-complementary
#766EA6 #A6926E #82A66E
monochromatic
#403A5F #595285 #766EA6 #9A94BD #BEBAD5

Accessibility & contrast

On white

4.61
#766EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#766EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #766EA6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EA6#FFFFFF#000000##FFFFFF
##766EA61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A8
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#6B7882
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #766ea6;
/* rgb */ color: rgb(118, 110, 166);
/* oklch */ color: oklch(56.8% 0.086 289.9);
Tailwind
colors: {
  custom: {
    50: '#9f97c0',
    500: '#766ea6',
    950: '#000000',
  },
}
SCSS
$custom: #766ea6;
$custom-light: #9f97c0;
$custom-dark: #000000;
JSON
{
  "hex": "#766ea6",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 248.571,
    "s": 23.932,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.08559,
    "h": 289.9
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#766EA6
secondary
#C0C4AC
accent
#C067B4
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0E0D12
muted
#7E7E81

Preview Lab

Preview with #766EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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