#768BC4#768BC4

#768BC4 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.3% C 0.089 H 268.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#768BC4
RGBrgb(118, 139, 196)
HSLhsl(224, 40%, 62%)
HSVhsv(224, 40%, 77%)
CMYKcmyk(39.8%, 29.1%, 0%, 23.1%)
CIE-LABlab(58.32, 6.97, -31.99)
CIE-LCHlch(58.32, 32.74, 282.28°)
OKLaboklab(64.31% -0.0026 -0.0892)
OKLCHoklch(64.31% 0.089 268.3)
XYZxyz(26.6646, 26.3010, 55.8855)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BC4 #C4AF76
analogous
#76B2C4 #768BC4 #8876C4
triadic
#768BC4 #C4768B #8BC476
tetradic
#768BC4 #C476B2 #C4AF76 #76C488
square
#768BC4 #C476B2 #C4AF76 #76C488
split-complementary
#768BC4 #C48876 #B2C476
monochromatic
#3A4E86 #4C67B1 #768BC4 #A1AFD6 #CCD3E9

Accessibility & contrast

On white

3.35
#768BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#768BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BC4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BC4#FFFFFF#000000##000000
##768BC41.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C6
Deuteranopia (green-blind)
#7089C3
Tritanopia (blue-blind)
#5D979F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #768bc4;
/* rgb */ color: rgb(118, 139, 196);
/* oklch */ color: oklch(64.3% 0.089 268.3);
Tailwind
colors: {
  custom: {
    50: '#a0acd6',
    500: '#768bc4',
    950: '#000000',
  },
}
SCSS
$custom: #768bc4;
$custom-light: #a0acd6;
$custom-dark: #000000;
JSON
{
  "hex": "#768bc4",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 196
  },
  "hsl": {
    "h": 223.846,
    "s": 39.796,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64307,
    "c": 0.08928,
    "h": 268.3
  },
  "luminance": 0.26302
}

Semantic roles & 50–950 ramp

primary
#768BC4
secondary
#D9D2BC
accent
#9033B3
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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