#768DC6#768DC6

#768DC6 is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.8% C 0.090 H 267.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#768DC6
RGBrgb(118, 141, 198)
HSLhsl(223, 41%, 62%)
HSVhsv(223, 40%, 78%)
CMYKcmyk(40.4%, 28.8%, 0%, 22.4%)
CIE-LABlab(58.95, 6.36, -32.14)
CIE-LCHlch(58.95, 32.76, 281.20°)
OKLaboklab(64.83% -0.0046 -0.0897)
OKLCHoklch(64.83% 0.09 267)
XYZxyz(27.1860, 26.9772, 57.1898)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DC6 #C6AF76
analogous
#76B5C6 #768DC6 #8776C6
triadic
#768DC6 #C6768D #8DC676
tetradic
#768DC6 #C676B5 #C6AF76 #76C687
square
#768DC6 #C676B5 #C6AF76 #76C687
split-complementary
#768DC6 #C68776 #B5C676
monochromatic
#395089 #4B69B4 #768DC6 #A1B1D8 #CCD5EA

Accessibility & contrast

On white

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

On black

6.40
#768DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DC6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DC6#FFFFFF#000000##000000
##768DC61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992C8
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#5C99A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768dc6;
/* rgb */ color: rgb(118, 141, 198);
/* oklch */ color: oklch(64.8% 0.090 267.0);
Tailwind
colors: {
  custom: {
    50: '#a0aed7',
    500: '#768dc6',
    950: '#000000',
  },
}
SCSS
$custom: #768dc6;
$custom-light: #a0aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#768dc6",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 198
  },
  "hsl": {
    "h": 222.75,
    "s": 41.237,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64827,
    "c": 0.08978,
    "h": 267
  },
  "luminance": 0.26979
}

Semantic roles & 50–950 ramp

primary
#768DC6
secondary
#DBD2BD
accent
#8F31B4
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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