#768EFD#768EFD

#768EFD is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.165 H 272.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#768EFD
RGBrgb(118, 142, 253)
HSLhsl(229, 97%, 73%)
HSVhsv(229, 53%, 99%)
CMYKcmyk(53.4%, 43.9%, 0%, 0.8%)
CIE-LABlab(61.90, 22.15, -58.08)
CIE-LCHlch(61.90, 62.16, 290.88°)
OKLaboklab(67.97% 0.0062 -0.1652)
OKLCHoklch(67.97% 0.165 272.1)
XYZxyz(34.8681, 30.2870, 96.9181)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EFD #FDE576
analogous
#76D2FD #768EFD #A176FD
triadic
#768EFD #FD768E #8EFD76
tetradic
#768EFD #FD76D2 #FDE576 #76FDA1
square
#768EFD #FD76D2 #FDE576 #76FDA1
split-complementary
#768EFD #FDA176 #D2FD76
monochromatic
#042FF5 #3A5CFC #768EFD #B2C0FE #E1E6FF

Accessibility & contrast

On white

2.98
#768EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#768EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768EFD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EFD#FFFFFF#000000##000000
##768EFD1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#31A6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768efd;
/* rgb */ color: rgb(118, 142, 253);
/* oklch */ color: oklch(68.0% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#a6aeff',
    500: '#768efd',
    950: '#000000',
  },
}
SCSS
$custom: #768efd;
$custom-light: #a6aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#768efd",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 229.333,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.1653,
    "h": 272.1
  },
  "luminance": 0.30289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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