#768FC7#768FC7

#768FC7 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.3% C 0.089 H 265.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#768FC7
RGBrgb(118, 143, 199)
HSLhsl(221, 42%, 62%)
HSVhsv(221, 41%, 78%)
CMYKcmyk(40.7%, 28.1%, 0%, 22%)
CIE-LABlab(59.54, 5.48, -31.79)
CIE-LCHlch(59.54, 32.25, 279.79°)
OKLaboklab(65.3% -0.0069 -0.0887)
OKLCHoklch(65.3% 0.089 265.5)
XYZxyz(27.5993, 27.6186, 57.8984)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FC7 #C7AE76
analogous
#76B8C7 #768FC7 #8576C7
triadic
#768FC7 #C7768F #8FC776
tetradic
#768FC7 #C776B8 #C7AE76 #76C785
square
#768FC7 #C776B8 #C7AE76 #76C785
split-complementary
#768FC7 #C78576 #B8C776
monochromatic
#38528A #4B6BB5 #768FC7 #A1B3D9 #CDD6EB

Accessibility & contrast

On white

3.22
#768FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#768FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FC7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FC7#FFFFFF#000000##000000
##768FC71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93C9
Deuteranopia (green-blind)
#738CC6
Tritanopia (blue-blind)
#5B9BA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768fc7;
/* rgb */ color: rgb(118, 143, 199);
/* oklch */ color: oklch(65.3% 0.089 265.5);
Tailwind
colors: {
  custom: {
    50: '#a0afd8',
    500: '#768fc7',
    950: '#000000',
  },
}
SCSS
$custom: #768fc7;
$custom-light: #a0afd8;
$custom-dark: #000000;
JSON
{
  "hex": "#768fc7",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 199
  },
  "hsl": {
    "h": 221.481,
    "s": 41.969,
    "l": 62.157
  },
  "oklch": {
    "l": 0.653,
    "c": 0.08892,
    "h": 265.5
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#768FC7
secondary
#DBD2BE
accent
#8C30B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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