#768DC4#768DC4

#768DC4 is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.7% C 0.087 H 266.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#768DC4
RGBrgb(118, 141, 196)
HSLhsl(222, 40%, 62%)
HSVhsv(222, 40%, 77%)
CMYKcmyk(39.8%, 28.1%, 0%, 23.1%)
CIE-LABlab(58.87, 5.80, -31.14)
CIE-LCHlch(58.87, 31.68, 280.55°)
OKLaboklab(64.73% -0.0052 -0.0868)
OKLCHoklch(64.73% 0.087 266.6)
XYZxyz(26.9568, 26.8855, 55.9829)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DC4 #C4AD76
analogous
#76B4C4 #768DC4 #8676C4
triadic
#768DC4 #C4768D #8DC476
tetradic
#768DC4 #C476B4 #C4AD76 #76C486
square
#768DC4 #C476B4 #C4AD76 #76C486
split-complementary
#768DC4 #C48676 #B4C476
monochromatic
#3A5086 #4C6AB1 #768DC4 #A1B1D6 #CCD4E9

Accessibility & contrast

On white

3.29
#768DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#768DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DC4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DC4#FFFFFF#000000##000000
##768DC41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C6
Deuteranopia (green-blind)
#738AC3
Tritanopia (blue-blind)
#5D98A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768dc4;
/* rgb */ color: rgb(118, 141, 196);
/* oklch */ color: oklch(64.7% 0.087 266.6);
Tailwind
colors: {
  custom: {
    50: '#a0aed6',
    500: '#768dc4',
    950: '#000000',
  },
}
SCSS
$custom: #768dc4;
$custom-light: #a0aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#768dc4",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 196
  },
  "hsl": {
    "h": 222.308,
    "s": 39.796,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.08696,
    "h": 266.6
  },
  "luminance": 0.26887
}

Semantic roles & 50–950 ramp

primary
#768DC4
secondary
#D9D1BC
accent
#8D33B3
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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