#768EE2#768EE2

#768EE2 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.4% C 0.128 H 270.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#768EE2
RGBrgb(118, 142, 226)
HSLhsl(227, 65%, 67%)
HSVhsv(227, 48%, 89%)
CMYKcmyk(47.8%, 37.2%, 0%, 11.4%)
CIE-LABlab(60.50, 13.92, -45.39)
CIE-LCHlch(60.50, 47.48, 287.05°)
OKLaboklab(66.45% 0.0012 -0.1281)
OKLCHoklch(66.45% 0.128 270.5)
XYZxyz(30.8673, 28.6867, 75.8473)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EE2 #E2CA76
analogous
#76C4E2 #768EE2 #9476E2
triadic
#768EE2 #E2768E #8EE276
tetradic
#768EE2 #E276C4 #E2CA76 #76E294
square
#768EE2 #E276C4 #E2CA76 #76E294
split-complementary
#768EE2 #E29476 #C4E276
monochromatic
#2747B7 #4364D7 #768EE2 #A9B8ED #DBE1F7

Accessibility & contrast

On white

3.12
#768EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#768EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EE2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EE2#FFFFFF#000000##000000
##768EE21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E5
Deuteranopia (green-blind)
#638EE0
Tritanopia (blue-blind)
#4BA0AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768ee2;
/* rgb */ color: rgb(118, 142, 226);
/* oklch */ color: oklch(66.4% 0.128 270.5);
Tailwind
colors: {
  custom: {
    50: '#a3aeeb',
    500: '#768ee2',
    950: '#000000',
  },
}
SCSS
$custom: #768ee2;
$custom-light: #a3aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#768ee2",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 226.667,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.12807,
    "h": 270.5
  },
  "luminance": 0.28689
}

Semantic roles & 50–950 ramp

primary
#768EE2
secondary
#EBE3C9
accent
#A519CD
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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