#767EC2#767EC2

#767EC2 is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.5% C 0.103 H 277.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#767EC2
RGBrgb(118, 126, 194)
HSLhsl(234, 38%, 61%)
HSVhsv(234, 39%, 76%)
CMYKcmyk(39.2%, 35.1%, 0%, 23.9%)
CIE-LABlab(54.73, 14.07, -36.47)
CIE-LCHlch(54.73, 39.09, 291.10°)
OKLaboklab(61.5% 0.014 -0.1022)
OKLCHoklch(61.5% 0.103 277.8)
XYZxyz(24.6668, 22.6673, 54.1040)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767EC2 #C2BA76
analogous
#76A4C2 #767EC2 #9476C2
triadic
#767EC2 #C2767E #7EC276
tetradic
#767EC2 #C276A4 #C2BA76 #76C294
square
#767EC2 #C276A4 #C2BA76 #76C294
split-complementary
#767EC2 #C29476 #A4C276
monochromatic
#3A4283 #4D57AE #767EC2 #A0A6D5 #CBCEE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767EC2#FFFFFF#000000##000000
##767EC21.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)
#6786C5
Deuteranopia (green-blind)
#6280C0
Tritanopia (blue-blind)
#5F8B97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #767ec2;
/* rgb */ color: rgb(118, 126, 194);
/* oklch */ color: oklch(61.5% 0.103 277.8);
Tailwind
colors: {
  custom: {
    50: '#a0a3d4',
    500: '#767ec2',
    950: '#000000',
  },
}
SCSS
$custom: #767ec2;
$custom-light: #a0a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#767ec2",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 233.684,
    "s": 38.384,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61497,
    "c": 0.10313,
    "h": 277.8
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#767EC2
secondary
#D8D5BC
accent
#A434B1
background
#FAFAFD
surface
#F3F3FA
border
#CDCDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #767EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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