#766EA5#766EA5

#766EA5 is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.8% C 0.084 H 290.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#766EA5
RGBrgb(118, 110, 165)
HSLhsl(249, 23%, 54%)
HSVhsv(249, 33%, 65%)
CMYKcmyk(28.5%, 33.3%, 0%, 35.3%)
CIE-LABlab(49.15, 15.75, -28.43)
CIE-LCHlch(49.15, 32.50, 298.98°)
OKLaboklab(56.78% 0.0289 -0.079)
OKLCHoklch(56.78% 0.084 290.1)
XYZxyz(19.8370, 17.7197, 37.9651)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EA5 #9DA56E
analogous
#6E82A5 #766EA5 #926EA5
triadic
#766EA5 #A5766E #6EA576
tetradic
#766EA5 #A56E82 #9DA56E #6EA592
square
#766EA5 #A56E82 #9DA56E #6EA592
split-complementary
#766EA5 #A5926E #82A56E
monochromatic
#403A5E #595284 #766EA5 #9A94BC #BDBAD4

Accessibility & contrast

On white

4.62
#766EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#766EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #766EA5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EA5#FFFFFF#000000##FFFFFF
##766EA51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766ea5;
/* rgb */ color: rgb(118, 110, 165);
/* oklch */ color: oklch(56.8% 0.084 290.1);
Tailwind
colors: {
  custom: {
    50: '#9f97c0',
    500: '#766ea5',
    950: '#000000',
  },
}
SCSS
$custom: #766ea5;
$custom-light: #9f97c0;
$custom-dark: #000000;
JSON
{
  "hex": "#766ea5",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 248.727,
    "s": 23.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.08411,
    "h": 290.1
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#766EA5
secondary
#C0C3AC
accent
#C068B3
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0E0D12
muted
#7E7E81

Preview Lab

Preview with #766EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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