#768EEE#768EEE

#768EEE is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.1% C 0.145 H 271.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#768EEE
RGBrgb(118, 142, 238)
HSLhsl(228, 78%, 70%)
HSVhsv(228, 50%, 93%)
CMYKcmyk(50.4%, 40.3%, 0%, 6.7%)
CIE-LABlab(61.11, 17.54, -51.09)
CIE-LCHlch(61.11, 54.02, 288.95°)
OKLaboklab(67.11% 0.0037 -0.1447)
OKLCHoklch(67.11% 0.145 271.4)
XYZxyz(32.5719, 29.3685, 84.8247)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EEE #EED676
analogous
#76CAEE #768EEE #9A76EE
triadic
#768EEE #EE768E #8EEE76
tetradic
#768EEE #EE76CA #EED676 #76EE9A
square
#768EEE #EE76CA #EED676 #76EE9A
split-complementary
#768EEE #EE9A76 #CAEE76
monochromatic
#1A3ED0 #4061E7 #768EEE #ACBBF5 #E3E8FC

Accessibility & contrast

On white

3.05
#768EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#768EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EEE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EEE#FFFFFF#000000##000000
##768EEE1.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#42A3B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768eee;
/* rgb */ color: rgb(118, 142, 238);
/* oklch */ color: oklch(67.1% 0.145 271.4);
Tailwind
colors: {
  custom: {
    50: '#a4aef4',
    500: '#768eee',
    950: '#000000',
  },
}
SCSS
$custom: #768eee;
$custom-light: #a4aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#768eee",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 228,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67108,
    "c": 0.14476,
    "h": 271.4
  },
  "luminance": 0.29371
}

Semantic roles & 50–950 ramp

primary
#768EEE
secondary
#F1EACF
accent
#B10BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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