#766DCC#766DCC

#766DCC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.7% C 0.142 H 285.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#766DCC
RGBrgb(118, 109, 204)
HSLhsl(246, 48%, 61%)
HSVhsv(246, 47%, 80%)
CMYKcmyk(42.2%, 46.6%, 0%, 20%)
CIE-LABlab(50.86, 27.12, -48.29)
CIE-LCHlch(50.86, 55.38, 299.32°)
OKLaboklab(58.71% 0.0378 -0.1367)
OKLCHoklch(58.71% 0.142 285.5)
XYZxyz(23.8358, 19.1475, 59.5550)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DCC #C3CC6D
analogous
#6D94CC #766DCC #A66DCC
triadic
#766DCC #CC766D #6DCC76
tetradic
#766DCC #CC6D94 #C3CC6D #6DCCA6
square
#766DCC #CC6D94 #C3CC6D #6DCCA6
split-complementary
#766DCC #CCA66D #94CC6D
monochromatic
#3A318D #4D41BB #766DCC #A19ADC #CBC8EC

Accessibility & contrast

On white

4.35
#766DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#766DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DCC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DCC#FFFFFF#000000##000000
##766DCC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#4676CA
Tritanopia (blue-blind)
#5C8093
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #766dcc;
/* rgb */ color: rgb(118, 109, 204);
/* oklch */ color: oklch(58.7% 0.142 285.5);
Tailwind
colors: {
  custom: {
    50: '#a297dc',
    500: '#766dcc',
    950: '#000000',
  },
}
SCSS
$custom: #766dcc;
$custom-light: #a297dc;
$custom-dark: #000000;
JSON
{
  "hex": "#766dcc",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 245.684,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.14184,
    "h": 285.5
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#766DCC
secondary
#D9DCB9
accent
#BC2AAE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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