#766DCF#766DCF

#766DCF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.146 H 285.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#766DCF
RGBrgb(118, 109, 207)
HSLhsl(246, 51%, 62%)
HSVhsv(246, 47%, 81%)
CMYKcmyk(43%, 47.3%, 0%, 18.8%)
CIE-LABlab(51.03, 27.99, -49.73)
CIE-LCHlch(51.03, 57.06, 299.37°)
OKLaboklab(58.9% 0.0382 -0.1409)
OKLCHoklch(58.9% 0.146 285.2)
XYZxyz(24.1991, 19.2929, 61.4682)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DCF #C6CF6D
analogous
#6D95CF #766DCF #A76DCF
triadic
#766DCF #CF766D #6DCF76
tetradic
#766DCF #CF6D95 #C6CF6D #6DCFA7
square
#766DCF #CF6D95 #C6CF6D #6DCFA7
split-complementary
#766DCF #CFA76D #95CF6D
monochromatic
#393092 #4B3FC0 #766DCF #A19BDE #CCC9ED

Accessibility & contrast

On white

4.32
#766DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#766DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DCF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DCF#FFFFFF#000000##000000
##766DCF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#5B8194
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #766dcf;
/* rgb */ color: rgb(118, 109, 207);
/* oklch */ color: oklch(58.9% 0.146 285.2);
Tailwind
colors: {
  custom: {
    50: '#a297de',
    500: '#766dcf',
    950: '#000000',
  },
}
SCSS
$custom: #766dcf;
$custom-light: #a297de;
$custom-dark: #000000;
JSON
{
  "hex": "#766dcf",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 245.51,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.146,
    "h": 285.2
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#766DCF
secondary
#DBDEBA
accent
#BE28B0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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