#768AE4#768AE4

#768AE4 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.136 H 272.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#768AE4
RGBrgb(118, 138, 228)
HSLhsl(229, 67%, 68%)
HSVhsv(229, 48%, 89%)
CMYKcmyk(48.2%, 39.5%, 0%, 10.6%)
CIE-LABlab(59.55, 16.88, -48.01)
CIE-LCHlch(59.55, 50.89, 289.37°)
OKLaboklab(65.75% 0.0064 -0.1357)
OKLCHoklch(65.75% 0.136 272.7)
XYZxyz(30.5588, 27.6281, 77.1063)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AE4 #E4D076
analogous
#76C1E4 #768AE4 #9976E4
triadic
#768AE4 #E4768A #8AE476
tetradic
#768AE4 #E476C1 #E4D076 #76E499
square
#768AE4 #E476C1 #E4D076 #76E499
split-complementary
#768AE4 #E49976 #C1E476
monochromatic
#2540BB #435EDA #768AE4 #A9B6EE #DCE1F8

Accessibility & contrast

On white

3.22
#768AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#768AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AE4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AE4#FFFFFF#000000##000000
##768AE41.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E8
Deuteranopia (green-blind)
#5D8BE2
Tritanopia (blue-blind)
#4A9DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ae4;
/* rgb */ color: rgb(118, 138, 228);
/* oklch */ color: oklch(65.7% 0.136 272.7);
Tailwind
colors: {
  custom: {
    50: '#a3abed',
    500: '#768ae4',
    950: '#000000',
  },
}
SCSS
$custom: #768ae4;
$custom-light: #a3abed;
$custom-dark: #000000;
JSON
{
  "hex": "#768ae4",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 229.091,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65748,
    "c": 0.13588,
    "h": 272.7
  },
  "luminance": 0.2763
}

Semantic roles & 50–950 ramp

primary
#768AE4
secondary
#ECE6CA
accent
#AD17CF
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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