#768BCB#768BCB

#768BCB is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.6% C 0.099 H 269.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#768BCB
RGBrgb(118, 139, 203)
HSLhsl(225, 45%, 63%)
HSVhsv(225, 42%, 80%)
CMYKcmyk(41.9%, 31.5%, 0%, 20.4%)
CIE-LABlab(58.63, 8.95, -35.46)
CIE-LCHlch(58.63, 36.58, 284.16°)
OKLaboklab(64.65% -0.0007 -0.0993)
OKLCHoklch(64.65% 0.099 269.6)
XYZxyz(27.4800, 26.6272, 60.1799)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BCB #CBB676
analogous
#76B6CB #768BCB #8B76CB
triadic
#768BCB #CB768B #8BCB76
tetradic
#768BCB #CB76B6 #CBB676 #76CB8B
square
#768BCB #CB76B6 #CBB676 #76CB8B
split-complementary
#768BCB #CB8B76 #B6CB76
monochromatic
#374D90 #4A65BA #768BCB #A2B1DC #CFD6ED

Accessibility & contrast

On white

3.32
#768BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#768BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BCB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BCB#FFFFFF#000000##000000
##768BCB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#5998A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768bcb;
/* rgb */ color: rgb(118, 139, 203);
/* oklch */ color: oklch(64.6% 0.099 269.6);
Tailwind
colors: {
  custom: {
    50: '#a1acdb',
    500: '#768bcb',
    950: '#000000',
  },
}
SCSS
$custom: #768bcb;
$custom-light: #a1acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#768bcb",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 203
  },
  "hsl": {
    "h": 225.176,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64646,
    "c": 0.09926,
    "h": 269.6
  },
  "luminance": 0.26629
}

Semantic roles & 50–950 ramp

primary
#768BCB
secondary
#DED6BF
accent
#962DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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