#768EFE#768EFE

#768EFE is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.167 H 272.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#768EFE
RGBrgb(118, 142, 254)
HSLhsl(229, 99%, 73%)
HSVhsv(229, 54%, 100%)
CMYKcmyk(53.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(61.96, 22.46, -58.54)
CIE-LCHlch(61.96, 62.70, 290.99°)
OKLaboklab(68.04% 0.0063 -0.1665)
OKLCHoklch(68.04% 0.167 272.2)
XYZxyz(35.0278, 30.3509, 97.7592)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EFE #FEE676
analogous
#76D2FE #768EFE #A276FE
triadic
#768EFE #FE768E #8EFE76
tetradic
#768EFE #FE76D2 #FEE676 #76FEA2
square
#768EFE #FE76D2 #FEE676 #76FEA2
split-complementary
#768EFE #FEA276 #D2FE76
monochromatic
#022DF8 #395CFE #768EFE #B3C0FE #E1E6FF

Accessibility & contrast

On white

2.97
#768EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#768EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768EFE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EFE#FFFFFF#000000##000000
##768EFE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#30A6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768efe;
/* rgb */ color: rgb(118, 142, 254);
/* oklch */ color: oklch(68.0% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#a6aeff',
    500: '#768efe',
    950: '#000000',
  },
}
SCSS
$custom: #768efe;
$custom-light: #a6aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#768efe",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 229.412,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68035,
    "c": 0.16665,
    "h": 272.2
  },
  "luminance": 0.30353
}

Semantic roles & 50–950 ramp

primary
#768EFE
secondary
#F7F1D4
accent
#BD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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