#768AEB#768AEB

#768AEB is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.1% C 0.146 H 273.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#768AEB
RGBrgb(118, 138, 235)
HSLhsl(230, 75%, 69%)
HSVhsv(230, 50%, 92%)
CMYKcmyk(49.8%, 41.3%, 0%, 7.8%)
CIE-LABlab(59.91, 19.00, -51.32)
CIE-LCHlch(59.91, 54.73, 290.31°)
OKLaboklab(66.14% 0.0077 -0.1454)
OKLCHoklch(66.14% 0.146 273)
XYZxyz(31.5503, 28.0247, 82.3280)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AEB #EBD776
analogous
#76C4EB #768AEB #9D76EB
triadic
#768AEB #EB768A #8AEB76
tetradic
#768AEB #EB76C4 #EBD776 #76EB9D
square
#768AEB #EB76C4 #EBD776 #76EB9D
split-complementary
#768AEB #EB9D76 #C4EB76
monochromatic
#1D3BC9 #415CE3 #768AEB #ABB8F3 #E1E5FB

Accessibility & contrast

On white

3.18
#768AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#768AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AEB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AEB#FFFFFF#000000##000000
##768AEB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#459FAF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768aeb;
/* rgb */ color: rgb(118, 138, 235);
/* oklch */ color: oklch(66.1% 0.146 273.0);
Tailwind
colors: {
  custom: {
    50: '#a4abf2',
    500: '#768aeb',
    950: '#000000',
  },
}
SCSS
$custom: #768aeb;
$custom-light: #a4abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#768aeb",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 229.744,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.14562,
    "h": 273
  },
  "luminance": 0.28027
}

Semantic roles & 50–950 ramp

primary
#768AEB
secondary
#EFEACD
accent
#B50FD7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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