#768EC2#768EC2

#768EC2 is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.9% C 0.083 H 265.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#768EC2
RGBrgb(118, 142, 194)
HSLhsl(221, 38%, 61%)
HSVhsv(221, 39%, 76%)
CMYKcmyk(39.2%, 26.8%, 0%, 23.9%)
CIE-LABlab(59.06, 4.66, -29.72)
CIE-LCHlch(59.06, 30.08, 278.92°)
OKLaboklab(64.85% -0.0071 -0.0827)
OKLCHoklch(64.85% 0.083 265.1)
XYZxyz(26.8788, 27.0913, 54.8413)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EC2 #C2AA76
analogous
#76B4C2 #768EC2 #8476C2
triadic
#768EC2 #C2768E #8EC276
tetradic
#768EC2 #C276B4 #C2AA76 #76C284
square
#768EC2 #C276B4 #C2AA76 #76C284
split-complementary
#768EC2 #C28476 #B4C276
monochromatic
#3A5183 #4D6CAE #768EC2 #A0B1D5 #CBD4E8

Accessibility & contrast

On white

3.27
#768EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#768EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EC2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EC2#FFFFFF#000000##000000
##768EC21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#5D99A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768ec2;
/* rgb */ color: rgb(118, 142, 194);
/* oklch */ color: oklch(64.9% 0.083 265.1);
Tailwind
colors: {
  custom: {
    50: '#a0aed4',
    500: '#768ec2',
    950: '#000000',
  },
}
SCSS
$custom: #768ec2;
$custom-light: #a0aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#768ec2",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 221.053,
    "s": 38.384,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64853,
    "c": 0.08302,
    "h": 265.1
  },
  "luminance": 0.27093
}

Semantic roles & 50–950 ramp

primary
#768EC2
secondary
#D8CFBC
accent
#8A34B1
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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