#767BC7#767BC7

#767BC7 is a mid, moderate blue. Relative luminance 0.221; OKLCH L 61.2% C 0.115 H 279.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#767BC7
RGBrgb(118, 123, 199)
HSLhsl(236, 42%, 62%)
HSVhsv(236, 41%, 78%)
CMYKcmyk(40.7%, 38.2%, 0%, 22%)
CIE-LABlab(54.18, 17.28, -40.18)
CIE-LCHlch(54.18, 43.74, 293.27°)
OKLaboklab(61.15% 0.019 -0.113)
OKLCHoklch(61.15% 0.115 279.6)
XYZxyz(24.8600, 22.1399, 56.9853)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767BC7 #C7C276
analogous
#76A4C7 #767BC7 #9976C7
triadic
#767BC7 #C7767B #7BC776
tetradic
#767BC7 #C776A4 #C7C276 #76C799
square
#767BC7 #C776A4 #C7C276 #76C799
split-complementary
#767BC7 #C79976 #A4C776
monochromatic
#383E8A #4B51B5 #767BC7 #A1A5D9 #CDCFEB

Accessibility & contrast

On white

3.87
#767BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#767BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767BC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767BC7#FFFFFF#000000##000000
##767BC71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CA
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#5D8A97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #767bc7;
/* rgb */ color: rgb(118, 123, 199);
/* oklch */ color: oklch(61.2% 0.115 279.6);
Tailwind
colors: {
  custom: {
    50: '#a1a1d8',
    500: '#767bc7',
    950: '#000000',
  },
}
SCSS
$custom: #767bc7;
$custom-light: #a1a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#767bc7",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 236.296,
    "s": 41.969,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.11457,
    "h": 279.6
  },
  "luminance": 0.22141
}

Semantic roles & 50–950 ramp

primary
#767BC7
secondary
#DBD9BE
accent
#AD30B5
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #767BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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