#766BCC#766BCC

#766BCC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.145 H 286.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#766BCC
RGBrgb(118, 107, 204)
HSLhsl(247, 49%, 61%)
HSVhsv(247, 48%, 80%)
CMYKcmyk(42.2%, 47.5%, 0%, 20%)
CIE-LABlab(50.36, 28.32, -49.08)
CIE-LCHlch(50.36, 56.66, 299.99°)
OKLaboklab(58.34% 0.0403 -0.139)
OKLCHoklch(58.34% 0.145 286.2)
XYZxyz(23.6249, 18.7257, 59.4847)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BCC #C1CC6B
analogous
#6B90CC #766BCC #A66BCC
triadic
#766BCC #CC766B #6BCC76
tetradic
#766BCC #CC6B90 #C1CC6B #6BCCA6
square
#766BCC #CC6B90 #C1CC6B #6BCCA6
split-complementary
#766BCC #CCA66B #90CC6B
monochromatic
#3B308C #4E40BA #766BCC #A099DC #CAC6EB

Accessibility & contrast

On white

4.43
#766BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#766BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BCC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BCC#FFFFFF#000000##000000
##766BCC1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#5C7F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #766bcc;
/* rgb */ color: rgb(118, 107, 204);
/* oklch */ color: oklch(58.3% 0.145 286.2);
Tailwind
colors: {
  custom: {
    50: '#a295dc',
    500: '#766bcc',
    950: '#000000',
  },
}
SCSS
$custom: #766bcc;
$custom-light: #a295dc;
$custom-dark: #000000;
JSON
{
  "hex": "#766bcc",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 246.804,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.14475,
    "h": 286.2
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#766BCC
secondary
#D8DCB7
accent
#BC29AB
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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