#767AFC#767AFC

#767AFC is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.2% C 0.189 H 278.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#767AFC
RGBrgb(118, 122, 252)
HSLhsl(238, 96%, 73%)
HSVhsv(238, 53%, 99%)
CMYKcmyk(53.2%, 51.6%, 0%, 1.2%)
CIE-LABlab(56.88, 33.70, -65.58)
CIE-LCHlch(56.88, 73.73, 297.19°)
OKLaboklab(64.15% 0.0273 -0.1874)
OKLCHoklch(64.15% 0.189 278.3)
XYZxyz(31.9959, 24.7969, 95.1769)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AFC #FCF876
analogous
#76BDFC #767AFC #B576FC
triadic
#767AFC #FC767A #7AFC76
tetradic
#767AFC #FC76BD #FCF876 #76FCB5
square
#767AFC #FC76BD #FCF876 #76FCB5
split-complementary
#767AFC #FCB576 #BDFC76
monochromatic
#050CF2 #3A40FB #767AFC #B2B4FD #E1E2FE

Accessibility & contrast

On white

3.52
#767AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#767AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AFC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AFC#FFFFFF#000000##000000
##767AFC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#1D83F9
Tritanopia (blue-blind)
#3797AF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #767afc;
/* rgb */ color: rgb(118, 122, 252);
/* oklch */ color: oklch(64.2% 0.189 278.3);
Tailwind
colors: {
  custom: {
    50: '#a7a0fe',
    500: '#767afc',
    950: '#000000',
  },
}
SCSS
$custom: #767afc;
$custom-light: #a7a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#767afc",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 238.209,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64154,
    "c": 0.18938,
    "h": 278.3
  },
  "luminance": 0.24799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #767AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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