#766FCC#766FCC

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

Color values

HEX#766FCC
RGBrgb(118, 111, 204)
HSLhsl(245, 48%, 62%)
HSVhsv(245, 46%, 80%)
CMYKcmyk(42.2%, 45.6%, 0%, 20%)
CIE-LABlab(51.36, 25.92, -47.49)
CIE-LCHlch(51.36, 54.11, 298.62°)
OKLaboklab(59.09% 0.0353 -0.1344)
OKLCHoklch(59.09% 0.139 284.7)
XYZxyz(24.0516, 19.5791, 59.6269)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FCC #C5CC6F
analogous
#6F97CC #766FCC #A56FCC
triadic
#766FCC #CC766F #6FCC76
tetradic
#766FCC #CC6F97 #C5CC6F #6FCCA5
square
#766FCC #CC6F97 #C5CC6F #6FCCA5
split-complementary
#766FCC #CCA56F #97CC6F
monochromatic
#39328E #4B42BB #766FCC #A19CDC #CCC9EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766FCC#FFFFFF#000000##000000
##766FCC1.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)
#4B7DCF
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#5C8294
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #766fcc;
/* rgb */ color: rgb(118, 111, 204);
/* oklch */ color: oklch(59.1% 0.139 284.7);
Tailwind
colors: {
  custom: {
    50: '#a298dc',
    500: '#766fcc',
    950: '#000000',
  },
}
SCSS
$custom: #766fcc;
$custom-light: #a298dc;
$custom-dark: #000000;
JSON
{
  "hex": "#766fcc",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 244.516,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.13892,
    "h": 284.7
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#766FCC
secondary
#DADDBA
accent
#BB2BB0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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