#767FB2#767FB2

#767FB2 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 60.9% C 0.078 H 276.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#767FB2
RGBrgb(118, 127, 178)
HSLhsl(231, 28%, 58%)
HSVhsv(231, 34%, 70%)
CMYKcmyk(33.7%, 28.7%, 0%, 30.2%)
CIE-LABlab(54.28, 9.05, -28.00)
CIE-LCHlch(54.28, 29.43, 287.91°)
OKLaboklab(60.92% 0.0083 -0.0778)
OKLCHoklch(60.92% 0.078 276.1)
XYZxyz(23.0942, 22.2438, 45.1875)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767FB2 #B2A976
analogous
#769DB2 #767FB2 #8B76B2
triadic
#767FB2 #B2767F #7FB276
tetradic
#767FB2 #B2769D #B2A976 #76B28B
square
#767FB2 #B2769D #B2A976 #76B28B
split-complementary
#767FB2 #B28B76 #9DB276
monochromatic
#3E466F #545E96 #767FB2 #9DA4C8 #C4C8DE

Accessibility & contrast

On white

3.85
#767FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#767FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767FB2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767FB2#FFFFFF#000000##000000
##767FB21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#668991
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #767fb2;
/* rgb */ color: rgb(118, 127, 178);
/* oklch */ color: oklch(60.9% 0.078 276.1);
Tailwind
colors: {
  custom: {
    50: '#9fa4c9',
    500: '#767fb2',
    950: '#000000',
  },
}
SCSS
$custom: #767fb2;
$custom-light: #9fa4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#767fb2",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 231,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.07823,
    "h": 276.1
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#767FB2
secondary
#CECAB6
accent
#B663C4
background
#F9FAFC
surface
#F2F3F8
border
#CCCDD1
text
#0F0F13
muted
#7E7F82

Preview Lab

Preview with #767FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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