#767DF7#767DF7

#767DF7 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.4% C 0.179 H 277.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#767DF7
RGBrgb(118, 125, 247)
HSLhsl(237, 89%, 72%)
HSVhsv(237, 52%, 97%)
CMYKcmyk(52.2%, 49.4%, 0%, 3.1%)
CIE-LABlab(57.30, 30.38, -62.14)
CIE-LCHlch(57.30, 69.17, 296.06°)
OKLaboklab(64.38% 0.0238 -0.1772)
OKLCHoklch(64.38% 0.179 277.6)
XYZxyz(31.5880, 25.2322, 91.1835)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767DF7 #F7F076
analogous
#76BEF7 #767DF7 #B076F7
triadic
#767DF7 #F7767D #7DF776
tetradic
#767DF7 #F776BE #F7F076 #76F7B0
square
#767DF7 #F776BE #F7F076 #76F7B0
split-complementary
#767DF7 #F7B076 #BEF776
monochromatic
#0D19E5 #3C46F4 #767DF7 #B0B4FA #E2E4FD

Accessibility & contrast

On white

3.47
#767DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#767DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767DF7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767DF7#FFFFFF#000000##000000
##767DF71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFB
Deuteranopia (green-blind)
#3185F4
Tritanopia (blue-blind)
#3C98AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #767df7;
/* rgb */ color: rgb(118, 125, 247);
/* oklch */ color: oklch(64.4% 0.179 277.6);
Tailwind
colors: {
  custom: {
    50: '#a6a2fa',
    500: '#767df7',
    950: '#000000',
  },
}
SCSS
$custom: #767df7;
$custom-light: #a6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#767df7",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 236.744,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64375,
    "c": 0.17884,
    "h": 277.6
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

primary
#767DF7
secondary
#F5F3D4
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #767DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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