#767EC6#767EC6

#767EC6 is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.7% C 0.109 H 277.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#767EC6
RGBrgb(118, 126, 198)
HSLhsl(234, 41%, 62%)
HSVhsv(234, 40%, 78%)
CMYKcmyk(40.4%, 36.4%, 0%, 22.4%)
CIE-LABlab(54.92, 15.20, -38.45)
CIE-LCHlch(54.92, 41.34, 291.58°)
OKLaboklab(61.7% 0.0149 -0.1079)
OKLCHoklch(61.7% 0.109 277.9)
XYZxyz(25.1221, 22.8494, 56.5018)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767EC6 #C6BE76
analogous
#76A6C6 #767EC6 #9676C6
triadic
#767EC6 #C6767E #7EC676
tetradic
#767EC6 #C676A6 #C6BE76 #76C696
square
#767EC6 #C676A6 #C6BE76 #76C696
split-complementary
#767EC6 #C69676 #A6C676
monochromatic
#394189 #4B55B4 #767EC6 #A1A7D8 #CCCFEA

Accessibility & contrast

On white

3.77
#767EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#767EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767EC6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767EC6#FFFFFF#000000##000000
##767EC61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6687C9
Deuteranopia (green-blind)
#6081C4
Tritanopia (blue-blind)
#5D8C99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767ec6;
/* rgb */ color: rgb(118, 126, 198);
/* oklch */ color: oklch(61.7% 0.109 277.9);
Tailwind
colors: {
  custom: {
    50: '#a1a3d7',
    500: '#767ec6',
    950: '#000000',
  },
}
SCSS
$custom: #767ec6;
$custom-light: #a1a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#767ec6",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 234,
    "s": 41.237,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.10896,
    "h": 277.9
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

primary
#767EC6
secondary
#DBD8BD
accent
#A731B4
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #767EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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