#768CCB#768CCB

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

Color values

HEX#768CCB
RGBrgb(118, 140, 203)
HSLhsl(224, 45%, 63%)
HSVhsv(224, 42%, 80%)
CMYKcmyk(41.9%, 31%, 0%, 20.4%)
CIE-LABlab(58.90, 8.36, -35.04)
CIE-LCHlch(58.90, 36.03, 283.43°)
OKLaboklab(64.86% -0.0019 -0.098)
OKLCHoklch(64.86% 0.098 268.9)
XYZxyz(27.6255, 26.9181, 60.2284)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CCB #CBB576
analogous
#76B6CB #768CCB #8A76CB
triadic
#768CCB #CB768C #8CCB76
tetradic
#768CCB #CB76B6 #CBB576 #76CB8A
square
#768CCB #CB76B6 #CBB576 #76CB8A
split-complementary
#768CCB #CB8A76 #B6CB76
monochromatic
#374E90 #4A67BA #768CCB #A2B1DC #CFD6ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768CCB#FFFFFF#000000##000000
##768CCB1.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)
#7692CE
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#5999A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768ccb;
/* rgb */ color: rgb(118, 140, 203);
/* oklch */ color: oklch(64.9% 0.098 268.9);
Tailwind
colors: {
  custom: {
    50: '#a1addb',
    500: '#768ccb',
    950: '#000000',
  },
}
SCSS
$custom: #768ccb;
$custom-light: #a1addb;
$custom-dark: #000000;
JSON
{
  "hex": "#768ccb",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 203
  },
  "hsl": {
    "h": 224.471,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64856,
    "c": 0.09806,
    "h": 268.9
  },
  "luminance": 0.2692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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