#768CF7#768CF7

#768CF7 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.160 H 272.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#768CF7
RGBrgb(118, 140, 247)
HSLhsl(230, 89%, 72%)
HSVhsv(230, 52%, 97%)
CMYKcmyk(52.2%, 43.3%, 0%, 3.1%)
CIE-LABlab(61.06, 21.48, -56.12)
CIE-LCHlch(61.06, 60.09, 290.95°)
OKLaboklab(67.23% 0.0075 -0.1594)
OKLCHoklch(67.23% 0.16 272.7)
XYZxyz(33.6324, 29.3209, 91.8649)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF7 #F7E176
analogous
#76CDF7 #768CF7 #A176F7
triadic
#768CF7 #F7768C #8CF776
tetradic
#768CF7 #F776CD #F7E176 #76F7A1
square
#768CF7 #F776CD #F7E176 #76F7A1
split-complementary
#768CF7 #F7A176 #CDF776
monochromatic
#0D32E5 #3C5BF4 #768CF7 #B0BDFA #E2E7FD

Accessibility & contrast

On white

3.06
#768CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#768CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF7#FFFFFF#000000##000000
##768CF71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#39A3B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768cf7;
/* rgb */ color: rgb(118, 140, 247);
/* oklch */ color: oklch(67.2% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#a5adfa',
    500: '#768cf7',
    950: '#000000',
  },
}
SCSS
$custom: #768cf7;
$custom-light: #a5adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf7",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 229.767,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6723,
    "c": 0.15962,
    "h": 272.7
  },
  "luminance": 0.29323
}

Semantic roles & 50–950 ramp

primary
#768CF7
secondary
#F5EFD4
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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