#768CB5#768CB5

#768CB5 is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.8% C 0.067 H 262.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#768CB5
RGBrgb(118, 140, 181)
HSLhsl(219, 30%, 59%)
HSVhsv(219, 35%, 71%)
CMYKcmyk(34.8%, 22.7%, 0%, 29%)
CIE-LABlab(57.98, 2.27, -24.01)
CIE-LCHlch(57.98, 24.11, 275.39°)
OKLaboklab(63.84% -0.0086 -0.0664)
OKLCHoklch(63.84% 0.067 262.6)
XYZxyz(25.1873, 25.9428, 47.3874)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CB5 #B59F76
analogous
#76ABB5 #768CB5 #7F76B5
triadic
#768CB5 #B5768C #8CB576
tetradic
#768CB5 #B576AB #B59F76 #76B57F
square
#768CB5 #B576AB #B59F76 #76B57F
split-complementary
#768CB5 #B57F76 #ABB576
monochromatic
#3E5073 #536C9A #768CB5 #9EADCA #C5CFE0

Accessibility & contrast

On white

3.39
#768CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#768CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CB5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CB5#FFFFFF#000000##000000
##768CB51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FB7
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#63949A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #768cb5;
/* rgb */ color: rgb(118, 140, 181);
/* oklch */ color: oklch(63.8% 0.067 262.6);
Tailwind
colors: {
  custom: {
    50: '#9fadcb',
    500: '#768cb5',
    950: '#000000',
  },
}
SCSS
$custom: #768cb5;
$custom-light: #9fadcb;
$custom-dark: #000000;
JSON
{
  "hex": "#768cb5",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 219.048,
    "s": 29.858,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6384,
    "c": 0.06696,
    "h": 262.6
  },
  "luminance": 0.25944
}

Semantic roles & 50–950 ramp

primary
#768CB5
secondary
#D0C7B7
accent
#A362C6
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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