#767CB2#767CB2

#767CB2 is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.3% C 0.082 H 278.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#767CB2
RGBrgb(118, 124, 178)
HSLhsl(234, 28%, 58%)
HSVhsv(234, 34%, 70%)
CMYKcmyk(33.7%, 30.3%, 0%, 30.2%)
CIE-LABlab(53.47, 10.83, -29.26)
CIE-LCHlch(53.47, 31.20, 290.31°)
OKLaboklab(60.29% 0.0125 -0.0814)
OKLCHoklch(60.29% 0.082 278.7)
XYZxyz(22.7125, 21.4805, 45.0603)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767CB2 #B2AC76
analogous
#769AB2 #767CB2 #8E76B2
triadic
#767CB2 #B2767C #7CB276
tetradic
#767CB2 #B2769A #B2AC76 #76B28E
square
#767CB2 #B2769A #B2AC76 #76B28E
split-complementary
#767CB2 #B28E76 #9AB276
monochromatic
#3E436F #545B96 #767CB2 #9DA1C8 #C4C7DE

Accessibility & contrast

On white

3.97
#767CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#767CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767CB2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767CB2#FFFFFF#000000##000000
##767CB21.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#66868F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #767cb2;
/* rgb */ color: rgb(118, 124, 178);
/* oklch */ color: oklch(60.3% 0.082 278.7);
Tailwind
colors: {
  custom: {
    50: '#9fa1c9',
    500: '#767cb2',
    950: '#000000',
  },
}
SCSS
$custom: #767cb2;
$custom-light: #9fa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#767cb2",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 234,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.08236,
    "h": 278.7
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#767CB2
secondary
#CECBB6
accent
#BB63C4
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0F13
muted
#7E7E82

Preview Lab

Preview with #767CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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