#767EF5#767EF5

#767EF5 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.4% C 0.175 H 277.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#767EF5
RGBrgb(118, 126, 245)
HSLhsl(236, 86%, 71%)
HSVhsv(236, 52%, 96%)
CMYKcmyk(51.8%, 48.6%, 0%, 3.9%)
CIE-LABlab(57.43, 29.18, -60.82)
CIE-LCHlch(57.43, 67.46, 295.63°)
OKLaboklab(64.43% 0.0225 -0.1734)
OKLCHoklch(64.43% 0.175 277.4)
XYZxyz(31.4083, 25.3639, 89.6092)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767EF5 #F5ED76
analogous
#76BDF5 #767EF5 #AD76F5
triadic
#767EF5 #F5767E #7EF576
tetradic
#767EF5 #F576BD #F5ED76 #76F5AD
square
#767EF5 #F576BD #F5ED76 #76F5AD
split-complementary
#767EF5 #F5AD76 #BDF576
monochromatic
#101DE0 #3D48F1 #767EF5 #AFB4F9 #E2E4FD

Accessibility & contrast

On white

3.46
#767EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#767EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767EF5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767EF5#FFFFFF#000000##000000
##767EF51.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#3785F2
Tritanopia (blue-blind)
#3E98AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #767ef5;
/* rgb */ color: rgb(118, 126, 245);
/* oklch */ color: oklch(64.4% 0.175 277.4);
Tailwind
colors: {
  custom: {
    50: '#a6a3f9',
    500: '#767ef5',
    950: '#000000',
  },
}
SCSS
$custom: #767ef5;
$custom-light: #a6a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#767ef5",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 236.22,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64433,
    "c": 0.17485,
    "h": 277.4
  },
  "luminance": 0.25366
}

Semantic roles & 50–950 ramp

primary
#767EF5
secondary
#F4F2D3
accent
#D503E3
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #767EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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