#768EB7#768EB7

#768EB7 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.4% C 0.068 H 261.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#768EB7
RGBrgb(118, 142, 183)
HSLhsl(218, 31%, 59%)
HSVhsv(218, 36%, 72%)
CMYKcmyk(35.5%, 22.4%, 0%, 28.2%)
CIE-LABlab(58.62, 1.65, -24.17)
CIE-LCHlch(58.62, 24.23, 273.91°)
OKLaboklab(64.36% -0.0106 -0.0669)
OKLCHoklch(64.36% 0.068 261)
XYZxyz(25.6889, 26.6153, 48.5743)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EB7 #B79F76
analogous
#76AFB7 #768EB7 #7F76B7
triadic
#768EB7 #B7768E #8EB776
tetradic
#768EB7 #B776AF #B79F76 #76B77F
square
#768EB7 #B776AF #B79F76 #76B77F
split-complementary
#768EB7 #B77F76 #AFB776
monochromatic
#3E5275 #536E9D #768EB7 #9EAFCC #C6D0E1

Accessibility & contrast

On white

3.32
#768EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#768EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EB7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EB7#FFFFFF#000000##000000
##768EB71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B9
Deuteranopia (green-blind)
#798AB6
Tritanopia (blue-blind)
#62979C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768eb7;
/* rgb */ color: rgb(118, 142, 183);
/* oklch */ color: oklch(64.4% 0.068 261.0);
Tailwind
colors: {
  custom: {
    50: '#9faecc',
    500: '#768eb7',
    950: '#000000',
  },
}
SCSS
$custom: #768eb7;
$custom-light: #9faecc;
$custom-dark: #000000;
JSON
{
  "hex": "#768eb7",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 217.846,
    "s": 31.1,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64362,
    "c": 0.06771,
    "h": 261
  },
  "luminance": 0.26616
}

Semantic roles & 50–950 ramp

primary
#768EB7
secondary
#D1C8B8
accent
#A161C7
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #768EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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