#768CEE#768CEE

#768CEE is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.7% C 0.147 H 272.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#768CEE
RGBrgb(118, 140, 238)
HSLhsl(229, 78%, 70%)
HSVhsv(229, 50%, 93%)
CMYKcmyk(50.4%, 41.2%, 0%, 6.7%)
CIE-LABlab(60.59, 18.72, -51.91)
CIE-LCHlch(60.59, 55.19, 289.83°)
OKLaboklab(66.71% 0.0059 -0.1471)
OKLCHoklch(66.71% 0.147 272.3)
XYZxyz(32.2770, 28.7787, 84.7264)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CEE #EED876
analogous
#76C8EE #768CEE #9C76EE
triadic
#768CEE #EE768C #8CEE76
tetradic
#768CEE #EE76C8 #EED876 #76EE9C
square
#768CEE #EE76C8 #EED876 #76EE9C
split-complementary
#768CEE #EE9C76 #C8EE76
monochromatic
#1A3BD0 #405EE7 #768CEE #ACBAF5 #E3E7FC

Accessibility & contrast

On white

3.11
#768CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#768CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CEE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CEE#FFFFFF#000000##000000
##768CEE1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F2
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#42A1B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768cee;
/* rgb */ color: rgb(118, 140, 238);
/* oklch */ color: oklch(66.7% 0.147 272.3);
Tailwind
colors: {
  custom: {
    50: '#a4adf4',
    500: '#768cee',
    950: '#000000',
  },
}
SCSS
$custom: #768cee;
$custom-light: #a4adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#768cee",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 229,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.14725,
    "h": 272.3
  },
  "luminance": 0.28781
}

Semantic roles & 50–950 ramp

primary
#768CEE
secondary
#F1EBCF
accent
#B40BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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