#768CB4#768CB4

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

Color values

HEX#768CB4
RGBrgb(118, 140, 180)
HSLhsl(219, 29%, 58%)
HSVhsv(219, 34%, 71%)
CMYKcmyk(34.4%, 22.2%, 0%, 29.4%)
CIE-LABlab(57.94, 2.00, -23.50)
CIE-LCHlch(57.94, 23.58, 274.86°)
OKLaboklab(63.8% -0.0089 -0.065)
OKLCHoklch(63.8% 0.066 262.2)
XYZxyz(25.0851, 25.9019, 46.8490)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CB4 #B49E76
analogous
#76ABB4 #768CB4 #7F76B4
triadic
#768CB4 #B4768C #8CB476
tetradic
#768CB4 #B476AB #B49E76 #76B47F
square
#768CB4 #B476AB #B49E76 #76B47F
split-complementary
#768CB4 #B47F76 #ABB476
monochromatic
#3E5071 #546C99 #768CB4 #9EADCA #C5CEDF

Accessibility & contrast

On white

3.40
#768CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#768CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CB4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CB4#FFFFFF#000000##000000
##768CB41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768cb4;
/* rgb */ color: rgb(118, 140, 180);
/* oklch */ color: oklch(63.8% 0.066 262.2);
Tailwind
colors: {
  custom: {
    50: '#9fadca',
    500: '#768cb4',
    950: '#000000',
  },
}
SCSS
$custom: #768cb4;
$custom-light: #9fadca;
$custom-dark: #000000;
JSON
{
  "hex": "#768cb4",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 218.71,
    "s": 29.245,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.06557,
    "h": 262.2
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#768CB4
secondary
#CFC6B7
accent
#A262C6
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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