#767FF2#767FF2

#767FF2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.4% C 0.169 H 277.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#767FF2
RGBrgb(118, 127, 242)
HSLhsl(236, 83%, 71%)
HSVhsv(236, 51%, 95%)
CMYKcmyk(51.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(57.50, 27.67, -59.05)
CIE-LCHlch(57.50, 65.21, 295.10°)
OKLaboklab(64.43% 0.0211 -0.1682)
OKLCHoklch(64.43% 0.169 277.2)
XYZxyz(31.0826, 25.4392, 87.2596)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767FF2 #F2E976
analogous
#76BDF2 #767FF2 #AB76F2
triadic
#767FF2 #F2767F #7FF276
tetradic
#767FF2 #F276BD #F2E976 #76F2AB
square
#767FF2 #F276BD #F2E976 #76F2AB
split-complementary
#767FF2 #F2AB76 #BDF276
monochromatic
#1523D9 #3E4BED #767FF2 #AEB3F7 #E3E5FC

Accessibility & contrast

On white

3.45
#767FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#767FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767FF2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767FF2#FFFFFF#000000##000000
##767FF21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#3D85F0
Tritanopia (blue-blind)
#4198AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #767ff2;
/* rgb */ color: rgb(118, 127, 242);
/* oklch */ color: oklch(64.4% 0.169 277.2);
Tailwind
colors: {
  custom: {
    50: '#a5a4f7',
    500: '#767ff2',
    950: '#000000',
  },
}
SCSS
$custom: #767ff2;
$custom-light: #a5a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#767ff2",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 235.645,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.16948,
    "h": 277.2
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#767FF2
secondary
#F3F0D1
accent
#CF06DF
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #767FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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