#766BDA#766BDA

#766BDA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.2% C 0.164 H 284.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#766BDA
RGBrgb(118, 107, 218)
HSLhsl(246, 60%, 64%)
HSVhsv(246, 51%, 85%)
CMYKcmyk(45.9%, 50.9%, 0%, 14.5%)
CIE-LABlab(51.18, 32.39, -55.73)
CIE-LCHlch(51.18, 64.46, 300.16°)
OKLaboklab(59.22% 0.0417 -0.1585)
OKLCHoklch(59.22% 0.164 284.7)
XYZxyz(25.3801, 19.4278, 68.7287)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BDA #CFDA6B
analogous
#6B97DA #766BDA #AD6BDA
triadic
#766BDA #DA766B #6BDA76
tetradic
#766BDA #DA6B97 #CFDA6B #6BDAAD
square
#766BDA #DA6B97 #CFDA6B #6BDAAD
split-complementary
#766BDA #DAAD6B #97DA6B
monochromatic
#3529A2 #493ACE #766BDA #A39CE6 #D1CDF2

Accessibility & contrast

On white

4.30
#766BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#766BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BDA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BDA#FFFFFF#000000##000000
##766BDA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#558398
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #766bda;
/* rgb */ color: rgb(118, 107, 218);
/* oklch */ color: oklch(59.2% 0.164 284.7);
Tailwind
colors: {
  custom: {
    50: '#a395e6',
    500: '#766bda',
    950: '#000000',
  },
}
SCSS
$custom: #766bda;
$custom-light: #a395e6;
$custom-dark: #000000;
JSON
{
  "hex": "#766bda",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 245.946,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.16392,
    "h": 284.7
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#766BDA
secondary
#E0E4BD
accent
#C81EB7
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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