#768CC7#768CC7

#768CC7 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.7% C 0.092 H 268.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#768CC7
RGBrgb(118, 140, 199)
HSLhsl(224, 42%, 62%)
HSVhsv(224, 41%, 78%)
CMYKcmyk(40.7%, 29.6%, 0%, 22%)
CIE-LABlab(58.72, 7.23, -33.06)
CIE-LCHlch(58.72, 33.84, 282.33°)
OKLaboklab(64.66% -0.0031 -0.0923)
OKLCHoklch(64.66% 0.092 268.1)
XYZxyz(27.1549, 26.7299, 57.7503)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CC7 #C7B176
analogous
#76B4C7 #768CC7 #8976C7
triadic
#768CC7 #C7768C #8CC776
tetradic
#768CC7 #C776B4 #C7B176 #76C789
square
#768CC7 #C776B4 #C7B176 #76C789
split-complementary
#768CC7 #C78976 #B4C776
monochromatic
#384F8A #4B68B5 #768CC7 #A1B0D9 #CDD5EB

Accessibility & contrast

On white

3.31
#768CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#768CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CC7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CC7#FFFFFF#000000##000000
##768CC71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891CA
Deuteranopia (green-blind)
#708AC6
Tritanopia (blue-blind)
#5B98A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768cc7;
/* rgb */ color: rgb(118, 140, 199);
/* oklch */ color: oklch(64.7% 0.092 268.1);
Tailwind
colors: {
  custom: {
    50: '#a0add8',
    500: '#768cc7',
    950: '#000000',
  },
}
SCSS
$custom: #768cc7;
$custom-light: #a0add8;
$custom-dark: #000000;
JSON
{
  "hex": "#768cc7",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 199
  },
  "hsl": {
    "h": 223.704,
    "s": 41.969,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64662,
    "c": 0.09237,
    "h": 268.1
  },
  "luminance": 0.26731
}

Semantic roles & 50–950 ramp

primary
#768CC7
secondary
#DBD3BE
accent
#9130B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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