#766BDD#766BDD

#766BDD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.168 H 284.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#766BDD
RGBrgb(118, 107, 221)
HSLhsl(246, 63%, 64%)
HSVhsv(246, 52%, 87%)
CMYKcmyk(46.6%, 51.6%, 0%, 13.3%)
CIE-LABlab(51.37, 33.27, -57.13)
CIE-LCHlch(51.37, 66.11, 300.21°)
OKLaboklab(59.41% 0.0419 -0.1627)
OKLCHoklch(59.41% 0.168 284.4)
XYZxyz(25.7762, 19.5862, 70.8149)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BDD #D2DD6B
analogous
#6B99DD #766BDD #AF6BDD
triadic
#766BDD #DD766B #6BDD76
tetradic
#766BDD #DD6B99 #D2DD6B #6BDDAF
square
#766BDD #DD6B99 #D2DD6B #6BDDAF
split-complementary
#766BDD #DDAF6B #99DD6B
monochromatic
#3326A7 #4839D2 #766BDD #A49DE8 #D2CFF4

Accessibility & contrast

On white

4.27
#766BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#766BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BDD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BDD#FFFFFF#000000##000000
##766BDD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#347EE1
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#53849A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #766bdd;
/* rgb */ color: rgb(118, 107, 221);
/* oklch */ color: oklch(59.4% 0.168 284.4);
Tailwind
colors: {
  custom: {
    50: '#a495e8',
    500: '#766bdd',
    950: '#000000',
  },
}
SCSS
$custom: #766bdd;
$custom-light: #a495e8;
$custom-dark: #000000;
JSON
{
  "hex": "#766bdd",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 245.789,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59415,
    "c": 0.16797,
    "h": 284.4
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#766BDD
secondary
#E2E6BE
accent
#CA1BB9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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