#767DFE#767DFE

#767DFE is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.8% C 0.188 H 277.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#767DFE
RGBrgb(118, 125, 254)
HSLhsl(237, 99%, 73%)
HSVhsv(237, 54%, 100%)
CMYKcmyk(53.5%, 50.8%, 0%, 0.4%)
CIE-LABlab(57.72, 32.53, -65.32)
CIE-LCHlch(57.72, 72.97, 296.48°)
OKLaboklab(64.83% 0.0243 -0.1866)
OKLCHoklch(64.83% 0.188 277.4)
XYZxyz(32.6886, 25.6724, 96.9795)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767DFE #FEF776
analogous
#76C1FE #767DFE #B376FE
triadic
#767DFE #FE767D #7DFE76
tetradic
#767DFE #FE76C1 #FEF776 #76FEB3
square
#767DFE #FE76C1 #FEF776 #76FEB3
split-complementary
#767DFE #FEB376 #C1FE76
monochromatic
#020EF8 #3943FE #767DFE #B3B7FE #E1E2FF

Accessibility & contrast

On white

3.42
#767DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#767DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767DFE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767DFE#FFFFFF#000000##000000
##767DFE1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#2385FB
Tritanopia (blue-blind)
#349AB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #767dfe;
/* rgb */ color: rgb(118, 125, 254);
/* oklch */ color: oklch(64.8% 0.188 277.4);
Tailwind
colors: {
  custom: {
    50: '#a7a2ff',
    500: '#767dfe',
    950: '#000000',
  },
}
SCSS
$custom: #767dfe;
$custom-light: #a7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#767dfe",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 236.912,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6483,
    "c": 0.18819,
    "h": 277.4
  },
  "luminance": 0.25675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #767DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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