#768CB2#768CB2

#768CB2 is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.7% C 0.063 H 261.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#768CB2
RGBrgb(118, 140, 178)
HSLhsl(218, 28%, 58%)
HSVhsv(218, 34%, 70%)
CMYKcmyk(33.7%, 21.3%, 0%, 30.2%)
CIE-LABlab(57.87, 1.47, -22.48)
CIE-LCHlch(57.87, 22.53, 273.73°)
OKLaboklab(63.71% -0.0096 -0.0621)
OKLCHoklch(63.71% 0.063 261.2)
XYZxyz(24.8828, 25.8210, 45.7837)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CB2 #B29C76
analogous
#76AAB2 #768CB2 #7E76B2
triadic
#768CB2 #B2768C #8CB276
tetradic
#768CB2 #B276AA #B29C76 #76B27E
square
#768CB2 #B276AA #B29C76 #76B27E
split-complementary
#768CB2 #B27E76 #AAB276
monochromatic
#3E506F #546D96 #768CB2 #9DADC8 #C4CEDE

Accessibility & contrast

On white

3.41
#768CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#768CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CB2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CB2#FFFFFF#000000##000000
##768CB21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#7989B1
Tritanopia (blue-blind)
#649499
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #768cb2;
/* rgb */ color: rgb(118, 140, 178);
/* oklch */ color: oklch(63.7% 0.063 261.2);
Tailwind
colors: {
  custom: {
    50: '#9fadc9',
    500: '#768cb2',
    950: '#000000',
  },
}
SCSS
$custom: #768cb2;
$custom-light: #9fadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#768cb2",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 218,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.0628,
    "h": 261.2
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

primary
#768CB2
secondary
#CEC5B6
accent
#A163C4
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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