#768AC8#768AC8

#768AC8 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.3% C 0.096 H 269.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#768AC8
RGBrgb(118, 138, 200)
HSLhsl(225, 43%, 62%)
HSVhsv(225, 41%, 78%)
CMYKcmyk(41%, 31%, 0%, 21.6%)
CIE-LABlab(58.22, 8.68, -34.40)
CIE-LCHlch(58.22, 35.48, 284.16°)
OKLaboklab(64.29% -0.0002 -0.0962)
OKLCHoklch(64.29% 0.096 269.9)
XYZxyz(26.9818, 26.1973, 58.2673)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AC8 #C8B476
analogous
#76B3C8 #768AC8 #8B76C8
triadic
#768AC8 #C8768A #8AC876
tetradic
#768AC8 #C876B3 #C8B476 #76C88B
square
#768AC8 #C876B3 #C8B476 #76C88B
split-complementary
#768AC8 #C88B76 #B3C876
monochromatic
#384C8C #4A65B6 #768AC8 #A2AFDA #CDD5EB

Accessibility & contrast

On white

3.37
#768AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#768AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AC8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AC8#FFFFFF#000000##000000
##768AC81.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CB
Deuteranopia (green-blind)
#6D89C7
Tritanopia (blue-blind)
#5B97A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #768ac8;
/* rgb */ color: rgb(118, 138, 200);
/* oklch */ color: oklch(64.3% 0.096 269.9);
Tailwind
colors: {
  custom: {
    50: '#a0acd9',
    500: '#768ac8',
    950: '#000000',
  },
}
SCSS
$custom: #768ac8;
$custom-light: #a0acd9;
$custom-dark: #000000;
JSON
{
  "hex": "#768ac8",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 200
  },
  "hsl": {
    "h": 225.366,
    "s": 42.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64289,
    "c": 0.09619,
    "h": 269.9
  },
  "luminance": 0.26199
}

Semantic roles & 50–950 ramp

primary
#768AC8
secondary
#DCD5BE
accent
#9530B6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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