#767EC7#767EC7

#767EC7 is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.8% C 0.110 H 277.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#767EC7
RGBrgb(118, 126, 199)
HSLhsl(234, 42%, 62%)
HSVhsv(234, 41%, 78%)
CMYKcmyk(40.7%, 36.7%, 0%, 22%)
CIE-LABlab(54.96, 15.49, -38.94)
CIE-LCHlch(54.96, 41.91, 291.69°)
OKLaboklab(61.76% 0.0151 -0.1094)
OKLCHoklch(61.76% 0.11 277.9)
XYZxyz(25.2378, 22.8957, 57.1113)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767EC7 #C7BF76
analogous
#76A7C7 #767EC7 #9776C7
triadic
#767EC7 #C7767E #7EC776
tetradic
#767EC7 #C776A7 #C7BF76 #76C797
square
#767EC7 #C776A7 #C7BF76 #76C797
split-complementary
#767EC7 #C79776 #A7C776
monochromatic
#38418A #4B55B5 #767EC7 #A1A7D9 #CDD0EB

Accessibility & contrast

On white

3.76
#767EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#767EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767EC7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767EC7#FFFFFF#000000##000000
##767EC71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6587CA
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#5D8C99
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #767ec7;
/* rgb */ color: rgb(118, 126, 199);
/* oklch */ color: oklch(61.8% 0.110 277.9);
Tailwind
colors: {
  custom: {
    50: '#a1a3d8',
    500: '#767ec7',
    950: '#000000',
  },
}
SCSS
$custom: #767ec7;
$custom-light: #a1a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#767ec7",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 234.074,
    "s": 41.969,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.1104,
    "h": 277.9
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

primary
#767EC7
secondary
#DBD8BE
accent
#A830B5
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #767EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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