#767AFD#767AFD

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

Color values

HEX#767AFD
RGBrgb(118, 122, 253)
HSLhsl(238, 97%, 73%)
HSVhsv(238, 53%, 99%)
CMYKcmyk(53.4%, 51.8%, 0%, 0.8%)
CIE-LABlab(56.94, 34.00, -66.03)
CIE-LCHlch(56.94, 74.27, 297.25°)
OKLaboklab(64.22% 0.0274 -0.1887)
OKLCHoklch(64.22% 0.191 278.3)
XYZxyz(32.1548, 24.8604, 96.0136)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AFD #FDF976
analogous
#76BEFD #767AFD #B576FD
triadic
#767AFD #FD767A #7AFD76
tetradic
#767AFD #FD76BE #FDF976 #76FDB5
square
#767AFD #FD76BE #FDF976 #76FDB5
split-complementary
#767AFD #FDB576 #BEFD76
monochromatic
#040BF5 #3A3FFC #767AFD #B2B5FE #E1E2FF

Accessibility & contrast

On white

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

On black

5.97
#767AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AFD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AFD#FFFFFF#000000##000000
##767AFD1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#1A83FA
Tritanopia (blue-blind)
#3698B0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #767afd;
/* rgb */ color: rgb(118, 122, 253);
/* oklch */ color: oklch(64.2% 0.191 278.3);
Tailwind
colors: {
  custom: {
    50: '#a7a0ff',
    500: '#767afd',
    950: '#000000',
  },
}
SCSS
$custom: #767afd;
$custom-light: #a7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#767afd",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 238.222,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.19071,
    "h": 278.3
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #767AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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