#768AE2#768AE2

#768AE2 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.6% C 0.133 H 272.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#768AE2
RGBrgb(118, 138, 226)
HSLhsl(229, 65%, 67%)
HSVhsv(229, 48%, 89%)
CMYKcmyk(47.8%, 38.9%, 0%, 11.4%)
CIE-LABlab(59.45, 16.28, -47.05)
CIE-LCHlch(59.45, 49.79, 289.09°)
OKLaboklab(65.64% 0.006 -0.1329)
OKLCHoklch(65.64% 0.133 272.6)
XYZxyz(30.2828, 27.5177, 75.6525)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AE2 #E2CE76
analogous
#76C0E2 #768AE2 #9876E2
triadic
#768AE2 #E2768A #8AE276
tetradic
#768AE2 #E276C0 #E2CE76 #76E298
square
#768AE2 #E276C0 #E2CE76 #76E298
split-complementary
#768AE2 #E29876 #C0E276
monochromatic
#2741B7 #435FD7 #768AE2 #A9B5ED #DBE0F7

Accessibility & contrast

On white

3.23
#768AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#768AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AE2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AE2#FFFFFF#000000##000000
##768AE21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E5
Deuteranopia (green-blind)
#5E8BE0
Tritanopia (blue-blind)
#4C9CAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ae2;
/* rgb */ color: rgb(118, 138, 226);
/* oklch */ color: oklch(65.6% 0.133 272.6);
Tailwind
colors: {
  custom: {
    50: '#a3abeb',
    500: '#768ae2',
    950: '#000000',
  },
}
SCSS
$custom: #768ae2;
$custom-light: #a3abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#768ae2",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 228.889,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65638,
    "c": 0.13307,
    "h": 272.6
  },
  "luminance": 0.27519
}

Semantic roles & 50–950 ramp

primary
#768AE2
secondary
#EBE5C9
accent
#AC19CD
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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