#768CE7#768CE7

#768CE7 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.3% C 0.138 H 271.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#768CE7
RGBrgb(118, 140, 231)
HSLhsl(228, 70%, 68%)
HSVhsv(228, 49%, 91%)
CMYKcmyk(48.9%, 39.4%, 0%, 9.4%)
CIE-LABlab(60.23, 16.60, -48.61)
CIE-LCHlch(60.23, 51.36, 288.86°)
OKLaboklab(66.32% 0.0046 -0.1375)
OKLCHoklch(66.32% 0.138 271.9)
XYZxyz(31.2685, 28.3753, 79.4151)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CE7 #E7D176
analogous
#76C4E7 #768CE7 #9876E7
triadic
#768CE7 #E7768C #8CE776
tetradic
#768CE7 #E776C4 #E7D176 #76E798
square
#768CE7 #E776C4 #E7D176 #76E798
split-complementary
#768CE7 #E79876 #C4E776
monochromatic
#2241C1 #4260DE #768CE7 #AAB8F0 #DEE3F9

Accessibility & contrast

On white

3.15
#768CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#768CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CE7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CE7#FFFFFF#000000##000000
##768CE71.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996EB
Deuteranopia (green-blind)
#5D8DE5
Tritanopia (blue-blind)
#489FAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768ce7;
/* rgb */ color: rgb(118, 140, 231);
/* oklch */ color: oklch(66.3% 0.138 271.9);
Tailwind
colors: {
  custom: {
    50: '#a3adef',
    500: '#768ce7',
    950: '#000000',
  },
}
SCSS
$custom: #768ce7;
$custom-light: #a3adef;
$custom-dark: #000000;
JSON
{
  "hex": "#768ce7",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 228.319,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66316,
    "c": 0.13754,
    "h": 271.9
  },
  "luminance": 0.28377
}

Semantic roles & 50–950 ramp

primary
#768CE7
secondary
#EDE7CB
accent
#AD13D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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