#766DBE#766DBE

#766DBE is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.122 H 287.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#766DBE
RGBrgb(118, 109, 190)
HSLhsl(247, 38%, 59%)
HSVhsv(247, 43%, 75%)
CMYKcmyk(37.9%, 42.6%, 0%, 25.5%)
CIE-LABlab(50.10, 23.14, -41.46)
CIE-LCHlch(50.10, 47.48, 299.17°)
OKLaboklab(57.9% 0.0357 -0.1167)
OKLCHoklch(57.9% 0.122 287)
XYZxyz(22.2316, 18.5058, 51.1059)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DBE #B5BE6D
analogous
#6D8CBE #766DBE #9E6DBE
triadic
#766DBE #BE766D #6DBE76
tetradic
#766DBE #BE6D8C #B5BE6D #6DBE9E
square
#766DBE #BE6D8C #B5BE6D #6DBE9E
split-complementary
#766DBE #BE9E6D #8CBE6D
monochromatic
#3E367A #5349A5 #766DBE #9E97D1 #C5C2E4

Accessibility & contrast

On white

4.47
#766DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#766DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DBE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DBE#FFFFFF#000000##000000
##766DBE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#637D8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #766dbe;
/* rgb */ color: rgb(118, 109, 190);
/* oklch */ color: oklch(57.9% 0.122 287.0);
Tailwind
colors: {
  custom: {
    50: '#a097d2',
    500: '#766dbe',
    950: '#000000',
  },
}
SCSS
$custom: #766dbe;
$custom-light: #a097d2;
$custom-dark: #000000;
JSON
{
  "hex": "#766dbe",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 246.667,
    "s": 38.389,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.12208,
    "h": 287
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#766DBE
secondary
#D0D3B3
accent
#CE59C1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #766DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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