#766FEB#766FEB

#766FEB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.1% C 0.181 H 282.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#766FEB
RGBrgb(118, 111, 235)
HSLhsl(243, 76%, 68%)
HSVhsv(243, 53%, 92%)
CMYKcmyk(49.8%, 52.8%, 0%, 7.8%)
CIE-LABlab(53.19, 35.06, -62.08)
CIE-LCHlch(53.19, 71.29, 299.45°)
OKLaboklab(61.05% 0.0381 -0.1772)
OKLCHoklch(61.05% 0.181 282.1)
XYZxyz(28.1465, 21.2171, 81.1933)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766FEB #E4EB6F
analogous
#6FA6EB #766FEB #B46FEB
triadic
#766FEB #EB766F #6FEB76
tetradic
#766FEB #EB6FA6 #E4EB6F #6FEBB4
square
#766FEB #EB6FA6 #E4EB6F #6FEBB4
split-complementary
#766FEB #EBB46F #A6EB6F
monochromatic
#251BC4 #4339E4 #766FEB #A9A5F2 #DCDAFA

Accessibility & contrast

On white

4.00
#766FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#766FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766FEB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766FEB#FFFFFF#000000##000000
##766FEB1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#1F7BE8
Tritanopia (blue-blind)
#498BA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766feb;
/* rgb */ color: rgb(118, 111, 235);
/* oklch */ color: oklch(61.1% 0.181 282.1);
Tailwind
colors: {
  custom: {
    50: '#a598f2',
    500: '#766feb',
    950: '#000000',
  },
}
SCSS
$custom: #766feb;
$custom-light: #a598f2;
$custom-dark: #000000;
JSON
{
  "hex": "#766feb",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 243.387,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.18124,
    "h": 282.1
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#766FEB
secondary
#ECEEC8
accent
#D80ECC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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