#767BCF#767BCF

#767BCF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.126 H 279.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#767BCF
RGBrgb(118, 123, 207)
HSLhsl(237, 48%, 64%)
HSVhsv(237, 43%, 81%)
CMYKcmyk(43%, 40.6%, 0%, 18.8%)
CIE-LABlab(54.58, 19.59, -44.09)
CIE-LCHlch(54.58, 48.25, 293.95°)
OKLaboklab(61.59% 0.0206 -0.1244)
OKLCHoklch(61.59% 0.126 279.4)
XYZxyz(25.8133, 22.5213, 62.0063)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767BCF #CFCA76
analogous
#76A7CF #767BCF #9D76CF
triadic
#767BCF #CF767B #7BCF76
tetradic
#767BCF #CF76A7 #CFCA76 #76CF9D
square
#767BCF #CF76A7 #CFCA76 #76CF9D
split-complementary
#767BCF #CF9D76 #A7CF76
monochromatic
#353A96 #494FBF #767BCF #A3A7DF #D1D2EF

Accessibility & contrast

On white

3.82
#767BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#767BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767BCF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767BCF#FFFFFF#000000##000000
##767BCF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#598C9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767bcf;
/* rgb */ color: rgb(118, 123, 207);
/* oklch */ color: oklch(61.6% 0.126 279.4);
Tailwind
colors: {
  custom: {
    50: '#a1a1de',
    500: '#767bcf',
    950: '#000000',
  },
}
SCSS
$custom: #767bcf;
$custom-light: #a1a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#767bcf",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 236.629,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.12608,
    "h": 279.4
  },
  "luminance": 0.22522
}

Semantic roles & 50–950 ramp

primary
#767BCF
secondary
#E0DEC1
accent
#B32ABB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #767BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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