#768AEE#768AEE

#768AEE is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.3% C 0.150 H 273.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#768AEE
RGBrgb(118, 138, 238)
HSLhsl(230, 78%, 70%)
HSVhsv(230, 50%, 93%)
CMYKcmyk(50.4%, 42%, 0%, 6.7%)
CIE-LABlab(60.07, 19.91, -52.73)
CIE-LCHlch(60.07, 56.37, 290.68°)
OKLaboklab(66.31% 0.0082 -0.1495)
OKLCHoklch(66.31% 0.15 273.1)
XYZxyz(31.9874, 28.1995, 84.6298)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AEE #EEDA76
analogous
#76C6EE #768AEE #9E76EE
triadic
#768AEE #EE768A #8AEE76
tetradic
#768AEE #EE76C6 #EEDA76 #76EE9E
square
#768AEE #EE76C6 #EEDA76 #76EE9E
split-complementary
#768AEE #EE9E76 #C6EE76
monochromatic
#1A38D0 #405CE7 #768AEE #ACB8F5 #E3E7FC

Accessibility & contrast

On white

3.16
#768AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#768AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AEE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AEE#FFFFFF#000000##000000
##768AEE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#429FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768aee;
/* rgb */ color: rgb(118, 138, 238);
/* oklch */ color: oklch(66.3% 0.150 273.1);
Tailwind
colors: {
  custom: {
    50: '#a4abf4',
    500: '#768aee',
    950: '#000000',
  },
}
SCSS
$custom: #768aee;
$custom-light: #a4abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#768aee",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 230,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66313,
    "c": 0.14978,
    "h": 273.1
  },
  "luminance": 0.28202
}

Semantic roles & 50–950 ramp

primary
#768AEE
secondary
#F1EBCF
accent
#B80BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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