#768CB3#768CB3

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

Color values

HEX#768CB3
RGBrgb(118, 140, 179)
HSLhsl(218, 29%, 58%)
HSVhsv(218, 34%, 70%)
CMYKcmyk(34.1%, 21.8%, 0%, 29.8%)
CIE-LABlab(57.91, 1.73, -22.99)
CIE-LCHlch(57.91, 23.05, 274.31°)
OKLaboklab(63.75% -0.0092 -0.0635)
OKLCHoklch(63.75% 0.064 261.7)
XYZxyz(24.9836, 25.8613, 46.3144)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CB3 #B39D76
analogous
#76AAB3 #768CB3 #7E76B3
triadic
#768CB3 #B3768C #8CB376
tetradic
#768CB3 #B376AA #B39D76 #76B37E
square
#768CB3 #B376AA #B39D76 #76B37E
split-complementary
#768CB3 #B37E76 #AAB376
monochromatic
#3E5070 #546C98 #768CB3 #9DADC9 #C5CEDF

Accessibility & contrast

On white

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

On black

6.17
#768CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CB3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CB3#FFFFFF#000000##000000
##768CB31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB5
Deuteranopia (green-blind)
#7889B2
Tritanopia (blue-blind)
#649499
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #768cb3;
/* rgb */ color: rgb(118, 140, 179);
/* oklch */ color: oklch(63.8% 0.064 261.7);
Tailwind
colors: {
  custom: {
    50: '#9fadc9',
    500: '#768cb3',
    950: '#000000',
  },
}
SCSS
$custom: #768cb3;
$custom-light: #9fadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#768cb3",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 218.361,
    "s": 28.638,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63754,
    "c": 0.06418,
    "h": 261.7
  },
  "luminance": 0.25862
}

Semantic roles & 50–950 ramp

primary
#768CB3
secondary
#CFC6B6
accent
#A263C5
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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