#766BCF#766BCF

#766BCF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.149 H 285.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#766BCF
RGBrgb(118, 107, 207)
HSLhsl(247, 51%, 62%)
HSVhsv(247, 48%, 81%)
CMYKcmyk(43%, 48.3%, 0%, 18.8%)
CIE-LABlab(50.54, 29.18, -50.52)
CIE-LCHlch(50.54, 58.34, 300.02°)
OKLaboklab(58.53% 0.0407 -0.1432)
OKLCHoklch(58.53% 0.149 285.9)
XYZxyz(23.9882, 18.8710, 61.3979)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BCF #C4CF6B
analogous
#6B92CF #766BCF #A86BCF
triadic
#766BCF #CF766B #6BCF76
tetradic
#766BCF #CF6B92 #C4CF6B #6BCFA8
square
#766BCF #CF6B92 #C4CF6B #6BCFA8
split-complementary
#766BCF #CFA86B #92CF6B
monochromatic
#3A2F91 #4C3EBF #766BCF #A199DE #CCC7ED

Accessibility & contrast

On white

4.40
#766BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#766BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BCF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BCF#FFFFFF#000000##000000
##766BCF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#4075CD
Tritanopia (blue-blind)
#5B8093
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #766bcf;
/* rgb */ color: rgb(118, 107, 207);
/* oklch */ color: oklch(58.5% 0.149 285.9);
Tailwind
colors: {
  custom: {
    50: '#a295de',
    500: '#766bcf',
    950: '#000000',
  },
}
SCSS
$custom: #766bcf;
$custom-light: #a295de;
$custom-dark: #000000;
JSON
{
  "hex": "#766bcf",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 246.6,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.1489,
    "h": 285.9
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#766BCF
secondary
#D9DEB8
accent
#BE27AE
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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