#768FE2#768FE2

#768FE2 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.127 H 270.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#768FE2
RGBrgb(118, 143, 226)
HSLhsl(226, 65%, 67%)
HSVhsv(226, 48%, 89%)
CMYKcmyk(47.8%, 36.7%, 0%, 11.4%)
CIE-LABlab(60.77, 13.34, -44.97)
CIE-LCHlch(60.77, 46.91, 286.52°)
OKLaboklab(66.65% 0 -0.1268)
OKLCHoklch(66.65% 0.127 270)
XYZxyz(31.0168, 28.9856, 75.8972)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FE2 #E2C976
analogous
#76C5E2 #768FE2 #9376E2
triadic
#768FE2 #E2768F #8FE276
tetradic
#768FE2 #E276C5 #E2C976 #76E293
square
#768FE2 #E276C5 #E2C976 #76E293
split-complementary
#768FE2 #E29376 #C5E276
monochromatic
#2748B7 #4366D7 #768FE2 #A9B8ED #DBE2F7

Accessibility & contrast

On white

3.09
#768FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#768FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FE2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FE2#FFFFFF#000000##000000
##768FE21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#658EE0
Tritanopia (blue-blind)
#4BA0AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768fe2;
/* rgb */ color: rgb(118, 143, 226);
/* oklch */ color: oklch(66.7% 0.127 270.0);
Tailwind
colors: {
  custom: {
    50: '#a3afeb',
    500: '#768fe2',
    950: '#000000',
  },
}
SCSS
$custom: #768fe2;
$custom-light: #a3afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#768fe2",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 226.111,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.12684,
    "h": 270
  },
  "luminance": 0.28987
}

Semantic roles & 50–950 ramp

primary
#768FE2
secondary
#EBE3C9
accent
#A319CD
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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