#766BC4#766BC4

#766BC4 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.9% C 0.134 H 287.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#766BC4
RGBrgb(118, 107, 196)
HSLhsl(247, 43%, 59%)
HSVhsv(247, 45%, 77%)
CMYKcmyk(39.8%, 45.4%, 0%, 23.1%)
CIE-LABlab(49.92, 26.03, -45.20)
CIE-LCHlch(49.92, 52.16, 299.94°)
OKLaboklab(57.86% 0.0393 -0.1277)
OKLCHoklch(57.86% 0.134 287.1)
XYZxyz(22.6899, 18.3517, 54.5606)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BC4 #B9C46B
analogous
#6B8DC4 #766BC4 #A36BC4
triadic
#766BC4 #C4766B #6BC476
tetradic
#766BC4 #C46B8D #B9C46B #6BC4A3
square
#766BC4 #C46B8D #B9C46B #6BC4A3
split-complementary
#766BC4 #C4A36B #8DC46B
monochromatic
#3D3381 #5245AD #766BC4 #9F97D5 #C7C3E7

Accessibility & contrast

On white

4.50
#766BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#766BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BC4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BC4#FFFFFF#000000##000000
##766BC41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C7
Deuteranopia (green-blind)
#4974C2
Tritanopia (blue-blind)
#607D8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #766bc4;
/* rgb */ color: rgb(118, 107, 196);
/* oklch */ color: oklch(57.9% 0.134 287.1);
Tailwind
colors: {
  custom: {
    50: '#a195d6',
    500: '#766bc4',
    950: '#000000',
  },
}
SCSS
$custom: #766bc4;
$custom-light: #a195d6;
$custom-dark: #000000;
JSON
{
  "hex": "#766bc4",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 247.416,
    "s": 42.995,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.13359,
    "h": 287.1
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#766BC4
secondary
#D2D7B4
accent
#D355C3
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #766BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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