#768FE8#768FE8

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

Color values

HEX#768FE8
RGBrgb(118, 143, 232)
HSLhsl(227, 71%, 69%)
HSVhsv(227, 49%, 91%)
CMYKcmyk(49.1%, 38.4%, 0%, 9%)
CIE-LABlab(61.06, 15.14, -47.83)
CIE-LCHlch(61.06, 50.17, 287.56°)
OKLaboklab(66.98% 0.0013 -0.1352)
OKLCHoklch(66.98% 0.135 270.6)
XYZxyz(31.8545, 29.3207, 80.3092)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FE8 #E8CF76
analogous
#76C8E8 #768FE8 #9676E8
triadic
#768FE8 #E8768F #8FE876
tetradic
#768FE8 #E876C8 #E8CF76 #76E896
square
#768FE8 #E876C8 #E8CF76 #76E896
split-complementary
#768FE8 #E89676 #C8E876
monochromatic
#2144C3 #4264DF #768FE8 #AABAF1 #DFE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768FE8#FFFFFF#000000##000000
##768FE81.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)
#6C99EC
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#46A2B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768fe8;
/* rgb */ color: rgb(118, 143, 232);
/* oklch */ color: oklch(67.0% 0.135 270.6);
Tailwind
colors: {
  custom: {
    50: '#a3aff0',
    500: '#768fe8',
    950: '#000000',
  },
}
SCSS
$custom: #768fe8;
$custom-light: #a3aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#768fe8",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 226.842,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66977,
    "c": 0.1352,
    "h": 270.6
  },
  "luminance": 0.29323
}

Semantic roles & 50–950 ramp

primary
#768FE8
secondary
#EEE6CC
accent
#A912D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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