#766DCD#766DCD

#766DCD is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.143 H 285.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#766DCD
RGBrgb(118, 109, 205)
HSLhsl(246, 49%, 62%)
HSVhsv(246, 47%, 80%)
CMYKcmyk(42.4%, 46.8%, 0%, 19.6%)
CIE-LABlab(50.92, 27.41, -48.77)
CIE-LCHlch(50.92, 55.94, 299.34°)
OKLaboklab(58.77% 0.038 -0.1381)
OKLCHoklch(58.77% 0.143 285.4)
XYZxyz(23.9561, 19.1957, 60.1887)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DCD #C4CD6D
analogous
#6D94CD #766DCD #A66DCD
triadic
#766DCD #CD766D #6DCD76
tetradic
#766DCD #CD6D94 #C4CD6D #6DCDA6
square
#766DCD #CD6D94 #C4CD6D #6DCDA6
split-complementary
#766DCD #CDA66D #94CD6D
monochromatic
#3A318F #4C40BC #766DCD #A19BDD #CCC8EC

Accessibility & contrast

On white

4.34
#766DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#766DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DCD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DCD#FFFFFF#000000##000000
##766DCD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#4576CB
Tritanopia (blue-blind)
#5C8193
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #766dcd;
/* rgb */ color: rgb(118, 109, 205);
/* oklch */ color: oklch(58.8% 0.143 285.4);
Tailwind
colors: {
  custom: {
    50: '#a297dd',
    500: '#766dcd',
    950: '#000000',
  },
}
SCSS
$custom: #766dcd;
$custom-light: #a297dd;
$custom-dark: #000000;
JSON
{
  "hex": "#766dcd",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 245.625,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.14323,
    "h": 285.4
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#766DCD
secondary
#D9DDB9
accent
#BC29AE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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