#767AFE#767AFE

#767AFE is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.3% C 0.192 H 278.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#767AFE
RGBrgb(118, 122, 254)
HSLhsl(238, 99%, 73%)
HSVhsv(238, 54%, 100%)
CMYKcmyk(53.5%, 52%, 0%, 0.4%)
CIE-LABlab(57.00, 34.31, -66.48)
CIE-LCHlch(57.00, 74.81, 297.30°)
OKLaboklab(64.29% 0.0275 -0.1901)
OKLCHoklch(64.29% 0.192 278.2)
XYZxyz(32.3145, 24.9243, 96.8548)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AFE #FEFA76
analogous
#76BEFE #767AFE #B676FE
triadic
#767AFE #FE767A #7AFE76
tetradic
#767AFE #FE76BE #FEFA76 #76FEB6
square
#767AFE #FE76BE #FEFA76 #76FEB6
split-complementary
#767AFE #FEB676 #BEFE76
monochromatic
#0209F8 #393FFE #767AFE #B3B5FE #E1E2FF

Accessibility & contrast

On white

3.51
#767AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#767AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AFE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AFE#FFFFFF#000000##000000
##767AFE1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#1683FB
Tritanopia (blue-blind)
#3598B0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #767afe;
/* rgb */ color: rgb(118, 122, 254);
/* oklch */ color: oklch(64.3% 0.192 278.2);
Tailwind
colors: {
  custom: {
    50: '#a7a0ff',
    500: '#767afe',
    950: '#000000',
  },
}
SCSS
$custom: #767afe;
$custom-light: #a7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#767afe",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 238.235,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64287,
    "c": 0.19203,
    "h": 278.2
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#767AFE
secondary
#F7F6D4
accent
#DF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #767AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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