#768EC8#768EC8

#768EC8 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.1% C 0.091 H 266.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#768EC8
RGBrgb(118, 142, 200)
HSLhsl(222, 43%, 62%)
HSVhsv(222, 41%, 78%)
CMYKcmyk(41%, 29%, 0%, 21.6%)
CIE-LABlab(59.31, 6.35, -32.71)
CIE-LCHlch(59.31, 33.32, 280.98°)
OKLaboklab(65.13% -0.0053 -0.0913)
OKLCHoklch(65.13% 0.091 266.6)
XYZxyz(27.5663, 27.3663, 58.4621)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EC8 #C8B076
analogous
#76B7C8 #768EC8 #8776C8
triadic
#768EC8 #C8768E #8EC876
tetradic
#768EC8 #C876B7 #C8B076 #76C887
square
#768EC8 #C876B7 #C8B076 #76C887
split-complementary
#768EC8 #C88776 #B7C876
monochromatic
#38508C #4A6AB6 #768EC8 #A2B2DA #CDD6EB

Accessibility & contrast

On white

3.24
#768EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#768EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EC8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EC8#FFFFFF#000000##000000
##768EC81.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#728BC7
Tritanopia (blue-blind)
#5B9AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ec8;
/* rgb */ color: rgb(118, 142, 200);
/* oklch */ color: oklch(65.1% 0.091 266.6);
Tailwind
colors: {
  custom: {
    50: '#a0aed9',
    500: '#768ec8',
    950: '#000000',
  },
}
SCSS
$custom: #768ec8;
$custom-light: #a0aed9;
$custom-dark: #000000;
JSON
{
  "hex": "#768ec8",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 200
  },
  "hsl": {
    "h": 222.439,
    "s": 42.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.09146,
    "h": 266.6
  },
  "luminance": 0.27368
}

Semantic roles & 50–950 ramp

primary
#768EC8
secondary
#DCD3BE
accent
#8F30B6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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