#768DEA#768DEA

#768DEA is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.7% C 0.140 H 271.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#768DEA
RGBrgb(118, 141, 234)
HSLhsl(228, 73%, 69%)
HSVhsv(228, 50%, 92%)
CMYKcmyk(49.6%, 39.7%, 0%, 8.2%)
CIE-LABlab(60.64, 16.92, -49.61)
CIE-LCHlch(60.64, 52.42, 288.83°)
OKLaboklab(66.68% 0.004 -0.1404)
OKLCHoklch(66.68% 0.14 271.6)
XYZxyz(31.8426, 28.8398, 81.7147)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DEA #EAD376
analogous
#76C7EA #768DEA #9976EA
triadic
#768DEA #EA768D #8DEA76
tetradic
#768DEA #EA76C7 #EAD376 #76EA99
square
#768DEA #EA76C7 #EAD376 #76EA99
split-complementary
#768DEA #EA9976 #C7EA76
monochromatic
#1F40C7 #4161E2 #768DEA #ABB9F2 #E0E5FA

Accessibility & contrast

On white

3.10
#768DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#768DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DEA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DEA#FFFFFF#000000##000000
##768DEA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#5C8EE8
Tritanopia (blue-blind)
#45A1B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768dea;
/* rgb */ color: rgb(118, 141, 234);
/* oklch */ color: oklch(66.7% 0.140 271.6);
Tailwind
colors: {
  custom: {
    50: '#a4aef1',
    500: '#768dea',
    950: '#000000',
  },
}
SCSS
$custom: #768dea;
$custom-light: #a4aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#768dea",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 228.103,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.14046,
    "h": 271.6
  },
  "luminance": 0.28842
}

Semantic roles & 50–950 ramp

primary
#768DEA
secondary
#EFE8CD
accent
#AE10D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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