#767AEB#767AEB

#767AEB is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.1% C 0.167 H 279.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#767AEB
RGBrgb(118, 122, 235)
HSLhsl(238, 75%, 69%)
HSVhsv(238, 50%, 92%)
CMYKcmyk(49.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(55.85, 28.52, -57.79)
CIE-LCHlch(55.85, 64.45, 296.26°)
OKLaboklab(63.06% 0.0259 -0.1645)
OKLCHoklch(63.06% 0.167 279)
XYZxyz(29.4215, 23.7671, 81.6184)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AEB #EBE776
analogous
#76B5EB #767AEB #AD76EB
triadic
#767AEB #EB767A #7AEB76
tetradic
#767AEB #EB76B5 #EBE776 #76EBAD
square
#767AEB #EB76B5 #EBE776 #76EBAD
split-complementary
#767AEB #EBAD76 #B5EB76
monochromatic
#1D23C9 #4146E3 #767AEB #ABAEF3 #E1E2FB

Accessibility & contrast

On white

3.65
#767AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#767AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AEB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AEB#FFFFFF#000000##000000
##767AEB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#3C81E9
Tritanopia (blue-blind)
#4892A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #767aeb;
/* rgb */ color: rgb(118, 122, 235);
/* oklch */ color: oklch(63.1% 0.167 279.0);
Tailwind
colors: {
  custom: {
    50: '#a4a0f2',
    500: '#767aeb',
    950: '#000000',
  },
}
SCSS
$custom: #767aeb;
$custom-light: #a4a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#767aeb",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 237.949,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63055,
    "c": 0.16654,
    "h": 279
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#767AEB
secondary
#EFEECD
accent
#D00FD7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #767AEB

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

Preview Lab → · Contrast checker → · Palette generator →

#767AEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva