#766EA8#766EA8

#766EA8 is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.9% C 0.089 H 289.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#766EA8
RGBrgb(118, 110, 168)
HSLhsl(248, 25%, 55%)
HSVhsv(248, 35%, 66%)
CMYKcmyk(29.8%, 34.5%, 0%, 34.1%)
CIE-LABlab(49.29, 16.53, -29.98)
CIE-LCHlch(49.29, 34.23, 298.88°)
OKLaboklab(56.92% 0.0297 -0.0834)
OKLCHoklch(56.92% 0.089 289.6)
XYZxyz(20.1132, 17.8302, 39.4201)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766EA8 #A0A86E
analogous
#6E83A8 #766EA8 #936EA8
triadic
#766EA8 #A8766E #6EA876
tetradic
#766EA8 #A86E83 #A0A86E #6EA893
square
#766EA8 #A86E83 #A0A86E #6EA893
split-complementary
#766EA8 #A8936E #83A86E
monochromatic
#403A61 #595188 #766EA8 #9A94BF #BEBBD6

Accessibility & contrast

On white

4.60
#766EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#766EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #766EA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766EA8#FFFFFF#000000##FFFFFF
##766EA81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E76AA
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#6A7883
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #766ea8;
/* rgb */ color: rgb(118, 110, 168);
/* oklch */ color: oklch(56.9% 0.089 289.6);
Tailwind
colors: {
  custom: {
    50: '#9f97c2',
    500: '#766ea8',
    950: '#000000',
  },
}
SCSS
$custom: #766ea8;
$custom-light: #9f97c2;
$custom-dark: #000000;
JSON
{
  "hex": "#766ea8",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 248.276,
    "s": 25,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56923,
    "c": 0.08855,
    "h": 289.6
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#766EA8
secondary
#C2C5AD
accent
#C166B5
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0E0D12
muted
#7E7E81

Preview Lab

Preview with #766EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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