#767BD2#767BD2

#767BD2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.130 H 279.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#767BD2
RGBrgb(118, 123, 210)
HSLhsl(237, 51%, 64%)
HSVhsv(237, 44%, 82%)
CMYKcmyk(43.8%, 41.4%, 0%, 17.6%)
CIE-LABlab(54.73, 20.47, -45.55)
CIE-LCHlch(54.73, 49.93, 294.20°)
OKLaboklab(61.76% 0.0212 -0.1286)
OKLCHoklch(61.76% 0.13 279.4)
XYZxyz(26.1836, 22.6694, 63.9563)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767BD2 #D2CD76
analogous
#76A9D2 #767BD2 #9F76D2
triadic
#767BD2 #D2767B #7BD276
tetradic
#767BD2 #D276A9 #D2CD76 #76D29F
square
#767BD2 #D276A9 #D2CD76 #76D29F
split-complementary
#767BD2 #D29F76 #A9D276
monochromatic
#33389B #484FC3 #767BD2 #A4A7E1 #D2D4F0

Accessibility & contrast

On white

3.79
#767BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##767BD2#FFFFFF#000000##000000
##767BD21.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D5
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#588D9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767bd2;
/* rgb */ color: rgb(118, 123, 210);
/* oklch */ color: oklch(61.8% 0.130 279.4);
Tailwind
colors: {
  custom: {
    50: '#a2a1e0',
    500: '#767bd2',
    950: '#000000',
  },
}
SCSS
$custom: #767bd2;
$custom-light: #a2a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#767bd2",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 236.739,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.13036,
    "h": 279.4
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#767BD2
secondary
#E2E0C2
accent
#B628BE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #767BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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