#767BD3#767BD3

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

Color values

HEX#767BD3
RGBrgb(118, 123, 211)
HSLhsl(237, 51%, 65%)
HSVhsv(237, 44%, 83%)
CMYKcmyk(44.1%, 41.7%, 0%, 17.3%)
CIE-LABlab(54.78, 20.76, -46.03)
CIE-LCHlch(54.78, 50.49, 294.27°)
OKLaboklab(61.81% 0.0214 -0.13)
OKLCHoklch(61.81% 0.132 279.3)
XYZxyz(26.3085, 22.7194, 64.6144)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767BD3 #D3CE76
analogous
#76AAD3 #767BD3 #A076D3
triadic
#767BD3 #D3767B #7BD376
tetradic
#767BD3 #D376AA #D3CE76 #76D3A0
square
#767BD3 #D376AA #D3CE76 #76D3A0
split-complementary
#767BD3 #D3A076 #AAD376
monochromatic
#32389C #484EC4 #767BD3 #A4A8E2 #D3D4F1

Accessibility & contrast

On white

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

On black

5.54
#767BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767BD3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767BD3#FFFFFF#000000##000000
##767BD31.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D6
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#578D9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767bd3;
/* rgb */ color: rgb(118, 123, 211);
/* oklch */ color: oklch(61.8% 0.132 279.3);
Tailwind
colors: {
  custom: {
    50: '#a2a1e1',
    500: '#767bd3',
    950: '#000000',
  },
}
SCSS
$custom: #767bd3;
$custom-light: #a2a1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#767bd3",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 236.774,
    "s": 51.381,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.13177,
    "h": 279.3
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#767BD3
secondary
#E2E1C2
accent
#B727BF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #767BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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