#767EFE#767EFE

#767EFE is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.187 H 277.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#767EFE
RGBrgb(118, 126, 254)
HSLhsl(236, 99%, 73%)
HSVhsv(236, 54%, 100%)
CMYKcmyk(53.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(57.97, 31.94, -64.93)
CIE-LCHlch(57.97, 72.36, 296.19°)
OKLaboklab(65.01% 0.0233 -0.1854)
OKLCHoklch(65.01% 0.187 277.2)
XYZxyz(32.8158, 25.9269, 97.0219)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767EFE #FEF676
analogous
#76C2FE #767EFE #B276FE
triadic
#767EFE #FE767E #7EFE76
tetradic
#767EFE #FE76C2 #FEF676 #76FEB2
square
#767EFE #FE76C2 #FEF676 #76FEB2
split-complementary
#767EFE #FEB276 #C2FE76
monochromatic
#0210F8 #3945FE #767EFE #B3B7FE #E1E2FF

Accessibility & contrast

On white

3.39
#767EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#767EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767EFE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767EFE#FFFFFF#000000##000000
##767EFE1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#2786FB
Tritanopia (blue-blind)
#349BB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #767efe;
/* rgb */ color: rgb(118, 126, 254);
/* oklch */ color: oklch(65.0% 0.187 277.2);
Tailwind
colors: {
  custom: {
    50: '#a7a3ff',
    500: '#767efe',
    950: '#000000',
  },
}
SCSS
$custom: #767efe;
$custom-light: #a7a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#767efe",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 236.471,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.18691,
    "h": 277.2
  },
  "luminance": 0.25929
}

Semantic roles & 50–950 ramp

primary
#767EFE
secondary
#F7F5D4
accent
#D800E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #767EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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