#768EE4#768EE4

#768EE4 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.131 H 270.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#768EE4
RGBrgb(118, 142, 228)
HSLhsl(227, 67%, 68%)
HSVhsv(227, 48%, 89%)
CMYKcmyk(48.2%, 37.7%, 0%, 10.6%)
CIE-LABlab(60.60, 14.52, -46.35)
CIE-LCHlch(60.60, 48.57, 287.40°)
OKLaboklab(66.56% 0.0017 -0.1308)
OKLCHoklch(66.56% 0.131 270.7)
XYZxyz(31.1433, 28.7971, 77.3011)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EE4 #E4CC76
analogous
#76C5E4 #768EE4 #9576E4
triadic
#768EE4 #E4768E #8EE476
tetradic
#768EE4 #E476C5 #E4CC76 #76E495
square
#768EE4 #E476C5 #E4CC76 #76E495
split-complementary
#768EE4 #E49576 #C5E476
monochromatic
#2546BB #4364DA #768EE4 #A9B8EE #DCE2F8

Accessibility & contrast

On white

3.11
#768EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#768EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EE4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EE4#FFFFFF#000000##000000
##768EE41.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#628EE2
Tritanopia (blue-blind)
#4AA0AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768ee4;
/* rgb */ color: rgb(118, 142, 228);
/* oklch */ color: oklch(66.6% 0.131 270.7);
Tailwind
colors: {
  custom: {
    50: '#a3aeed',
    500: '#768ee4',
    950: '#000000',
  },
}
SCSS
$custom: #768ee4;
$custom-light: #a3aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#768ee4",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 226.909,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66557,
    "c": 0.13086,
    "h": 270.7
  },
  "luminance": 0.28799
}

Semantic roles & 50–950 ramp

primary
#768EE4
secondary
#ECE4CA
accent
#A717CF
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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