#768CCC#768CCC

#768CCC is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.9% C 0.099 H 269.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#768CCC
RGBrgb(118, 140, 204)
HSLhsl(225, 46%, 63%)
HSVhsv(225, 42%, 80%)
CMYKcmyk(42.2%, 31.4%, 0%, 20%)
CIE-LABlab(58.94, 8.65, -35.53)
CIE-LCHlch(58.94, 36.57, 283.68°)
OKLaboklab(64.91% -0.0017 -0.0995)
OKLCHoklch(64.91% 0.099 269)
XYZxyz(27.7450, 26.9659, 60.8580)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CCC #CCB676
analogous
#76B7CC #768CCC #8B76CC
triadic
#768CCC #CC768C #8CCC76
tetradic
#768CCC #CC76B7 #CCB676 #76CC8B
square
#768CCC #CC76B7 #CCB676 #76CC8B
split-complementary
#768CCC #CC8B76 #B7CC76
monochromatic
#364E91 #4967BB #768CCC #A3B1DD #CFD7ED

Accessibility & contrast

On white

3.28
#768CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#768CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CCC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CCC#FFFFFF#000000##000000
##768CCC1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#6E8ACB
Tritanopia (blue-blind)
#5999A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768ccc;
/* rgb */ color: rgb(118, 140, 204);
/* oklch */ color: oklch(64.9% 0.099 269.0);
Tailwind
colors: {
  custom: {
    50: '#a1addc',
    500: '#768ccc',
    950: '#000000',
  },
}
SCSS
$custom: #768ccc;
$custom-light: #a1addc;
$custom-dark: #000000;
JSON
{
  "hex": "#768ccc",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 224.651,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64905,
    "c": 0.09947,
    "h": 269
  },
  "luminance": 0.26967
}

Semantic roles & 50–950 ramp

primary
#768CCC
secondary
#DED6BF
accent
#952DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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