#768CEA#768CEA

#768CEA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.142 H 272.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#768CEA
RGBrgb(118, 140, 234)
HSLhsl(229, 73%, 69%)
HSVhsv(229, 50%, 92%)
CMYKcmyk(49.6%, 40.2%, 0%, 8.2%)
CIE-LABlab(60.38, 17.51, -50.03)
CIE-LCHlch(60.38, 53.00, 289.29°)
OKLaboklab(66.48% 0.0052 -0.1416)
OKLCHoklch(66.48% 0.142 272.1)
XYZxyz(31.6958, 28.5462, 81.6657)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CEA #EAD476
analogous
#76C6EA #768CEA #9A76EA
triadic
#768CEA #EA768C #8CEA76
tetradic
#768CEA #EA76C6 #EAD476 #76EA9A
square
#768CEA #EA76C6 #EAD476 #76EA9A
split-complementary
#768CEA #EA9A76 #C6EA76
monochromatic
#1F3EC7 #415FE2 #768CEA #ABB9F2 #E0E5FA

Accessibility & contrast

On white

3.13
#768CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#768CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CEA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CEA#FFFFFF#000000##000000
##768CEA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#45A0B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768cea;
/* rgb */ color: rgb(118, 140, 234);
/* oklch */ color: oklch(66.5% 0.142 272.1);
Tailwind
colors: {
  custom: {
    50: '#a4adf1',
    500: '#768cea',
    950: '#000000',
  },
}
SCSS
$custom: #768cea;
$custom-light: #a4adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#768cea",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 228.621,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66483,
    "c": 0.14172,
    "h": 272.1
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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