#766CDB#766CDB

#766CDB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.164 H 284.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#766CDB
RGBrgb(118, 108, 219)
HSLhsl(245, 61%, 64%)
HSVhsv(245, 51%, 86%)
CMYKcmyk(46.1%, 50.7%, 0%, 14.1%)
CIE-LABlab(51.48, 32.09, -55.81)
CIE-LCHlch(51.48, 64.38, 299.90°)
OKLaboklab(59.46% 0.0406 -0.1588)
OKLCHoklch(59.46% 0.164 284.3)
XYZxyz(25.6162, 19.6900, 69.4549)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CDB #D1DB6C
analogous
#6C9ADB #766CDB #AE6CDB
triadic
#766CDB #DB766C #6CDB76
tetradic
#766CDB #DB6C9A #D1DB6C #6CDBAE
square
#766CDB #DB6C9A #D1DB6C #6CDBAE
split-complementary
#766CDB #DBAE6C #9ADB6C
monochromatic
#3328A4 #483BCF #766CDB #A49DE7 #D2CEF3

Accessibility & contrast

On white

4.25
#766CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#766CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CDB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CDB#FFFFFF#000000##000000
##766CDB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#548499
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #766cdb;
/* rgb */ color: rgb(118, 108, 219);
/* oklch */ color: oklch(59.5% 0.164 284.3);
Tailwind
colors: {
  custom: {
    50: '#a396e7',
    500: '#766cdb',
    950: '#000000',
  },
}
SCSS
$custom: #766cdb;
$custom-light: #a396e7;
$custom-dark: #000000;
JSON
{
  "hex": "#766cdb",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 245.405,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.16388,
    "h": 284.3
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#766CDB
secondary
#E1E5BE
accent
#C81DB9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #766CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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