#768AE7#768AE7

#768AE7 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.9% C 0.140 H 272.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#768AE7
RGBrgb(118, 138, 231)
HSLhsl(229, 70%, 68%)
HSVhsv(229, 49%, 91%)
CMYKcmyk(48.9%, 40.3%, 0%, 9.4%)
CIE-LABlab(59.70, 17.79, -49.43)
CIE-LCHlch(59.70, 52.53, 289.79°)
OKLaboklab(65.92% 0.007 -0.1399)
OKLCHoklch(65.92% 0.14 272.8)
XYZxyz(30.9789, 27.7961, 79.3186)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AE7 #E7D376
analogous
#76C2E7 #768AE7 #9A76E7
triadic
#768AE7 #E7768A #8AE776
tetradic
#768AE7 #E776C2 #E7D376 #76E79A
square
#768AE7 #E776C2 #E7D376 #76E79A
split-complementary
#768AE7 #E79A76 #C2E776
monochromatic
#223EC1 #425EDE #768AE7 #AAB6F0 #DEE3F9

Accessibility & contrast

On white

3.20
#768AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#768AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AE7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AE7#FFFFFF#000000##000000
##768AE71.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#5A8BE5
Tritanopia (blue-blind)
#489EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768ae7;
/* rgb */ color: rgb(118, 138, 231);
/* oklch */ color: oklch(65.9% 0.140 272.8);
Tailwind
colors: {
  custom: {
    50: '#a3abef',
    500: '#768ae7',
    950: '#000000',
  },
}
SCSS
$custom: #768ae7;
$custom-light: #a3abef;
$custom-dark: #000000;
JSON
{
  "hex": "#768ae7",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 229.381,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65915,
    "c": 0.14006,
    "h": 272.8
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#768AE7
secondary
#EDE7CB
accent
#B013D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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