#767CCC#767CCC

#767CCC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.6% C 0.120 H 279.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#767CCC
RGBrgb(118, 124, 204)
HSLhsl(236, 46%, 63%)
HSVhsv(236, 42%, 80%)
CMYKcmyk(42.2%, 39.2%, 0%, 20%)
CIE-LABlab(54.68, 18.12, -42.22)
CIE-LCHlch(54.68, 45.95, 293.23°)
OKLaboklab(61.62% 0.0188 -0.1189)
OKLCHoklch(61.62% 0.12 279)
XYZxyz(25.5747, 22.6253, 60.1346)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767CCC #CCC676
analogous
#76A7CC #767CCC #9B76CC
triadic
#767CCC #CC767C #7CCC76
tetradic
#767CCC #CC76A7 #CCC676 #76CC9B
square
#767CCC #CC76A7 #CCC676 #76CC9B
split-complementary
#767CCC #CC9B76 #A7CC76
monochromatic
#363D91 #4951BB #767CCC #A3A7DD #CFD1ED

Accessibility & contrast

On white

3.80
#767CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##767CCC#FFFFFF#000000##000000
##767CCC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CF
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#5B8C9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767ccc;
/* rgb */ color: rgb(118, 124, 204);
/* oklch */ color: oklch(61.6% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#a1a1dc',
    500: '#767ccc',
    950: '#000000',
  },
}
SCSS
$custom: #767ccc;
$custom-light: #a1a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#767ccc",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 235.814,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.12039,
    "h": 279
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#767CCC
secondary
#DEDCBF
accent
#AF2DB9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #767CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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