#766BD2#766BD2

#766BD2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.153 H 285.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#766BD2
RGBrgb(118, 107, 210)
HSLhsl(246, 53%, 62%)
HSVhsv(246, 49%, 82%)
CMYKcmyk(43.8%, 49%, 0%, 17.6%)
CIE-LABlab(50.71, 30.05, -51.95)
CIE-LCHlch(50.71, 60.01, 300.05°)
OKLaboklab(58.71% 0.041 -0.1474)
OKLCHoklch(58.71% 0.153 285.5)
XYZxyz(24.3584, 19.0191, 63.3479)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BD2 #C7D26B
analogous
#6B93D2 #766BD2 #AA6BD2
triadic
#766BD2 #D2766B #6BD276
tetradic
#766BD2 #D26B93 #C7D26B #6BD2AA
square
#766BD2 #D26B93 #C7D26B #6BD2AA
split-complementary
#766BD2 #D2AA6B #93D26B
monochromatic
#382D95 #4B3CC4 #766BD2 #A19AE0 #CDC9EF

Accessibility & contrast

On white

4.37
#766BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#766BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BD2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BD2#FFFFFF#000000##000000
##766BD21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#598195
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #766bd2;
/* rgb */ color: rgb(118, 107, 210);
/* oklch */ color: oklch(58.7% 0.153 285.5);
Tailwind
colors: {
  custom: {
    50: '#a295e0',
    500: '#766bd2',
    950: '#000000',
  },
}
SCSS
$custom: #766bd2;
$custom-light: #a295e0;
$custom-dark: #000000;
JSON
{
  "hex": "#766bd2",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 246.408,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.15303,
    "h": 285.5
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#766BD2
secondary
#DBDFB9
accent
#C125B0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #766BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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