#768EC6#768EC6

#768EC6 is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.0% C 0.089 H 266.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#768EC6
RGBrgb(118, 142, 198)
HSLhsl(222, 41%, 62%)
HSVhsv(222, 40%, 78%)
CMYKcmyk(40.4%, 28.3%, 0%, 22.4%)
CIE-LABlab(59.23, 5.78, -31.71)
CIE-LCHlch(59.23, 32.24, 280.33°)
OKLaboklab(65.04% -0.0059 -0.0884)
OKLCHoklch(65.04% 0.089 266.2)
XYZxyz(27.3341, 27.2734, 57.2391)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EC6 #C6AE76
analogous
#76B6C6 #768EC6 #8676C6
triadic
#768EC6 #C6768E #8EC676
tetradic
#768EC6 #C676B6 #C6AE76 #76C686
square
#768EC6 #C676B6 #C6AE76 #76C686
split-complementary
#768EC6 #C68676 #B6C676
monochromatic
#395189 #4B6AB4 #768EC6 #A1B2D8 #CCD5EA

Accessibility & contrast

On white

3.25
#768EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#768EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EC6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EC6#FFFFFF#000000##000000
##768EC61.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C8
Deuteranopia (green-blind)
#738BC5
Tritanopia (blue-blind)
#5B9AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ec6;
/* rgb */ color: rgb(118, 142, 198);
/* oklch */ color: oklch(65.0% 0.089 266.2);
Tailwind
colors: {
  custom: {
    50: '#a0aed7',
    500: '#768ec6',
    950: '#000000',
  },
}
SCSS
$custom: #768ec6;
$custom-light: #a0aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#768ec6",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 222,
    "s": 41.237,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.08864,
    "h": 266.2
  },
  "luminance": 0.27275
}

Semantic roles & 50–950 ramp

primary
#768EC6
secondary
#DBD2BD
accent
#8D31B4
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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