#766BEE#766BEE

#766BEE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.6% C 0.190 H 282.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#766BEE
RGBrgb(118, 107, 238)
HSLhsl(245, 79%, 68%)
HSVhsv(245, 55%, 93%)
CMYKcmyk(50.4%, 55%, 0%, 6.7%)
CIE-LABlab(52.44, 38.31, -64.96)
CIE-LCHlch(52.44, 75.41, 300.53°)
OKLaboklab(60.56% 0.0425 -0.1857)
OKLCHoklch(60.56% 0.19 282.9)
XYZxyz(28.1569, 20.5385, 83.3530)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BEE #E3EE6B
analogous
#6BA2EE #766BEE #B76BEE
triadic
#766BEE #EE766B #6BEE76
tetradic
#766BEE #EE6BA2 #E3EE6B #6BEEB7
square
#766BEE #EE6BA2 #E3EE6B #6BEEB7
split-complementary
#766BEE #EEB76B #A2EE6B
monochromatic
#2617C8 #4334E8 #766BEE #A9A2F4 #DCD9FB

Accessibility & contrast

On white

4.11
#766BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#766BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BEE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BEE#FFFFFF#000000##000000
##766BEE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1481F2
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#4789A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #766bee;
/* rgb */ color: rgb(118, 107, 238);
/* oklch */ color: oklch(60.6% 0.190 282.9);
Tailwind
colors: {
  custom: {
    50: '#a695f4',
    500: '#766bee',
    950: '#000000',
  },
}
SCSS
$custom: #766bee;
$custom-light: #a695f4;
$custom-dark: #000000;
JSON
{
  "hex": "#766bee",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 245.038,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.19048,
    "h": 282.9
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#766BEE
secondary
#EBEFC6
accent
#DC0ACA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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