#768EEA#768EEA

#768EEA is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.9% C 0.139 H 271.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#768EEA
RGBrgb(118, 142, 234)
HSLhsl(228, 73%, 69%)
HSVhsv(228, 50%, 92%)
CMYKcmyk(49.6%, 39.3%, 0%, 8.2%)
CIE-LABlab(60.90, 16.33, -49.20)
CIE-LCHlch(60.90, 51.84, 288.36°)
OKLaboklab(66.88% 0.0029 -0.1392)
OKLCHoklch(66.88% 0.139 271.2)
XYZxyz(31.9907, 29.1360, 81.7640)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EEA #EAD276
analogous
#76C8EA #768EEA #9876EA
triadic
#768EEA #EA768E #8EEA76
tetradic
#768EEA #EA76C8 #EAD276 #76EA98
square
#768EEA #EA76C8 #EAD276 #76EA98
split-complementary
#768EEA #EA9876 #C8EA76
monochromatic
#1F41C7 #4162E2 #768EEA #ABBAF2 #E0E6FA

Accessibility & contrast

On white

3.08
#768EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#768EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EEA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EEA#FFFFFF#000000##000000
##768EEA1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#45A2B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768eea;
/* rgb */ color: rgb(118, 142, 234);
/* oklch */ color: oklch(66.9% 0.139 271.2);
Tailwind
colors: {
  custom: {
    50: '#a4aef1',
    500: '#768eea',
    950: '#000000',
  },
}
SCSS
$custom: #768eea;
$custom-light: #a4aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#768eea",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 227.586,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.13921,
    "h": 271.2
  },
  "luminance": 0.29138
}

Semantic roles & 50–950 ramp

primary
#768EEA
secondary
#EFE8CD
accent
#AD10D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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