#767BB2#767BB2

#767BB2 is a mid, moderate blue. Relative luminance 0.212; OKLCH L 60.1% C 0.084 H 279.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#767BB2
RGBrgb(118, 123, 178)
HSLhsl(235, 28%, 58%)
HSVhsv(235, 34%, 70%)
CMYKcmyk(33.7%, 30.9%, 0%, 30.2%)
CIE-LABlab(53.20, 11.42, -29.68)
CIE-LCHlch(53.20, 31.81, 291.05°)
OKLaboklab(60.08% 0.0139 -0.0826)
OKLCHoklch(60.08% 0.084 279.6)
XYZxyz(22.5878, 21.2311, 45.0187)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767BB2 #B2AD76
analogous
#7699B2 #767BB2 #8F76B2
triadic
#767BB2 #B2767B #7BB276
tetradic
#767BB2 #B27699 #B2AD76 #76B28F
square
#767BB2 #B27699 #B2AD76 #76B28F
split-complementary
#767BB2 #B28F76 #99B276
monochromatic
#3E436F #545A96 #767BB2 #9DA1C8 #C4C6DE

Accessibility & contrast

On white

4.00
#767BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#767BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767BB2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767BB2#FFFFFF#000000##000000
##767BB21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#66858F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #767bb2;
/* rgb */ color: rgb(118, 123, 178);
/* oklch */ color: oklch(60.1% 0.084 279.6);
Tailwind
colors: {
  custom: {
    50: '#9fa1c9',
    500: '#767bb2',
    950: '#000000',
  },
}
SCSS
$custom: #767bb2;
$custom-light: #9fa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#767bb2",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 235,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.08376,
    "h": 279.6
  },
  "luminance": 0.21232
}

Semantic roles & 50–950 ramp

primary
#767BB2
secondary
#CECCB6
accent
#BC63C4
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0E13
muted
#7E7E82

Preview Lab

Preview with #767BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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