#768CC4#768CC4

#768CC4 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.5% C 0.088 H 267.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#768CC4
RGBrgb(118, 140, 196)
HSLhsl(223, 40%, 62%)
HSVhsv(223, 40%, 77%)
CMYKcmyk(39.8%, 28.6%, 0%, 23.1%)
CIE-LABlab(58.59, 6.38, -31.57)
CIE-LCHlch(58.59, 32.20, 281.43°)
OKLaboklab(64.52% -0.0039 -0.088)
OKLCHoklch(64.52% 0.088 267.5)
XYZxyz(26.8100, 26.5919, 55.9339)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CC4 #C4AE76
analogous
#76B3C4 #768CC4 #8776C4
triadic
#768CC4 #C4768C #8CC476
tetradic
#768CC4 #C476B3 #C4AE76 #76C487
square
#768CC4 #C476B3 #C4AE76 #76C487
split-complementary
#768CC4 #C48776 #B3C476
monochromatic
#3A4F86 #4C68B1 #768CC4 #A1B0D6 #CCD4E9

Accessibility & contrast

On white

3.32
#768CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#768CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CC4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CC4#FFFFFF#000000##000000
##768CC41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C6
Deuteranopia (green-blind)
#718AC3
Tritanopia (blue-blind)
#5D97A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768cc4;
/* rgb */ color: rgb(118, 140, 196);
/* oklch */ color: oklch(64.5% 0.088 267.5);
Tailwind
colors: {
  custom: {
    50: '#a0add6',
    500: '#768cc4',
    950: '#000000',
  },
}
SCSS
$custom: #768cc4;
$custom-light: #a0add6;
$custom-dark: #000000;
JSON
{
  "hex": "#768cc4",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 196
  },
  "hsl": {
    "h": 223.077,
    "s": 39.796,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.08811,
    "h": 267.5
  },
  "luminance": 0.26593
}

Semantic roles & 50–950 ramp

primary
#768CC4
secondary
#D9D1BC
accent
#8F33B3
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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