#768FC6#768FC6

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

Color values

HEX#768FC6
RGBrgb(118, 143, 198)
HSLhsl(221, 41%, 62%)
HSVhsv(221, 40%, 78%)
CMYKcmyk(40.4%, 27.8%, 0%, 22.4%)
CIE-LABlab(59.50, 5.20, -31.29)
CIE-LCHlch(59.50, 31.72, 279.44°)
OKLaboklab(65.25% -0.0072 -0.0872)
OKLCHoklch(65.25% 0.088 265.3)
XYZxyz(27.4836, 27.5723, 57.2890)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FC6 #C6AD76
analogous
#76B7C6 #768FC6 #8576C6
triadic
#768FC6 #C6768F #8FC676
tetradic
#768FC6 #C676B7 #C6AD76 #76C685
square
#768FC6 #C676B7 #C6AD76 #76C685
split-complementary
#768FC6 #C68576 #B7C676
monochromatic
#395289 #4B6CB4 #768FC6 #A1B2D8 #CCD6EA

Accessibility & contrast

On white

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

On black

6.51
#768FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FC6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FC6#FFFFFF#000000##000000
##768FC61.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C8
Deuteranopia (green-blind)
#748CC5
Tritanopia (blue-blind)
#5B9AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768fc6;
/* rgb */ color: rgb(118, 143, 198);
/* oklch */ color: oklch(65.3% 0.088 265.3);
Tailwind
colors: {
  custom: {
    50: '#a0afd7',
    500: '#768fc6',
    950: '#000000',
  },
}
SCSS
$custom: #768fc6;
$custom-light: #a0afd7;
$custom-dark: #000000;
JSON
{
  "hex": "#768fc6",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 198
  },
  "hsl": {
    "h": 221.25,
    "s": 41.237,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65253,
    "c": 0.08752,
    "h": 265.3
  },
  "luminance": 0.27574
}

Semantic roles & 50–950 ramp

primary
#768FC6
secondary
#DBD1BD
accent
#8B31B4
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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