#767DC7#767DC7

#767DC7 is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.6% C 0.112 H 278.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#767DC7
RGBrgb(118, 125, 199)
HSLhsl(235, 42%, 62%)
HSVhsv(235, 41%, 78%)
CMYKcmyk(40.7%, 37.2%, 0%, 22%)
CIE-LABlab(54.70, 16.09, -39.36)
CIE-LCHlch(54.70, 42.52, 292.23°)
OKLaboklab(61.55% 0.0164 -0.1106)
OKLCHoklch(61.55% 0.112 278.5)
XYZxyz(25.1106, 22.6412, 57.0689)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767DC7 #C7C076
analogous
#76A6C7 #767DC7 #9876C7
triadic
#767DC7 #C7767D #7DC776
tetradic
#767DC7 #C776A6 #C7C076 #76C798
square
#767DC7 #C776A6 #C7C076 #76C798
split-complementary
#767DC7 #C79876 #A6C776
monochromatic
#38408A #4B54B5 #767DC7 #A1A6D9 #CDCFEB

Accessibility & contrast

On white

3.80
#767DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#767DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767DC7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767DC7#FFFFFF#000000##000000
##767DC71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6486CA
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#5D8C98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767dc7;
/* rgb */ color: rgb(118, 125, 199);
/* oklch */ color: oklch(61.6% 0.112 278.5);
Tailwind
colors: {
  custom: {
    50: '#a1a2d8',
    500: '#767dc7',
    950: '#000000',
  },
}
SCSS
$custom: #767dc7;
$custom-light: #a1a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#767dc7",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 234.815,
    "s": 41.969,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.11179,
    "h": 278.5
  },
  "luminance": 0.22642
}

Semantic roles & 50–950 ramp

primary
#767DC7
secondary
#DBD9BE
accent
#AA30B5
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0F14
muted
#7F7E83

Preview Lab

Preview with #767DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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