#768EE7#768EE7

#768EE7 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.135 H 271.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#768EE7
RGBrgb(118, 142, 231)
HSLhsl(227, 70%, 68%)
HSVhsv(227, 49%, 91%)
CMYKcmyk(48.9%, 38.5%, 0%, 9.4%)
CIE-LABlab(60.75, 15.42, -47.77)
CIE-LCHlch(60.75, 50.20, 287.89°)
OKLaboklab(66.72% 0.0023 -0.135)
OKLCHoklch(66.72% 0.135 271)
XYZxyz(31.5634, 28.9651, 79.5134)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EE7 #E7CF76
analogous
#76C6E7 #768EE7 #9676E7
triadic
#768EE7 #E7768E #8EE776
tetradic
#768EE7 #E776C6 #E7CF76 #76E796
square
#768EE7 #E776C6 #E7CF76 #76E796
split-complementary
#768EE7 #E79676 #C6E776
monochromatic
#2244C1 #4263DE #768EE7 #AAB9F0 #DEE4F9

Accessibility & contrast

On white

3.09
#768EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#768EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EE7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EE7#FFFFFF#000000##000000
##768EE71.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#608EE5
Tritanopia (blue-blind)
#47A1AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768ee7;
/* rgb */ color: rgb(118, 142, 231);
/* oklch */ color: oklch(66.7% 0.135 271.0);
Tailwind
colors: {
  custom: {
    50: '#a3aeef',
    500: '#768ee7',
    950: '#000000',
  },
}
SCSS
$custom: #768ee7;
$custom-light: #a3aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#768ee7",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 227.257,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.13504,
    "h": 271
  },
  "luminance": 0.28967
}

Semantic roles & 50–950 ramp

primary
#768EE7
secondary
#EDE6CB
accent
#AA13D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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