#768DFE#768DFE

#768DFE is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.168 H 272.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#768DFE
RGBrgb(118, 141, 254)
HSLhsl(230, 99%, 73%)
HSVhsv(230, 54%, 100%)
CMYKcmyk(53.5%, 44.5%, 0%, 0.4%)
CIE-LABlab(61.70, 23.05, -58.94)
CIE-LCHlch(61.70, 63.29, 291.36°)
OKLaboklab(67.84% 0.0074 -0.1677)
OKLCHoklch(67.84% 0.168 272.5)
XYZxyz(34.8797, 30.0546, 97.7098)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DFE #FEE776
analogous
#76D1FE #768DFE #A376FE
triadic
#768DFE #FE768D #8DFE76
tetradic
#768DFE #FE76D1 #FEE776 #76FEA3
square
#768DFE #FE76D1 #FEE776 #76FEA3
split-complementary
#768DFE #FEA376 #D1FE76
monochromatic
#022BF8 #395AFE #768DFE #B3C0FE #E1E6FF

Accessibility & contrast

On white

3.00
#768DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#768DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768DFE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DFE#FFFFFF#000000##000000
##768DFE1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#4B90FC
Tritanopia (blue-blind)
#30A6B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768dfe;
/* rgb */ color: rgb(118, 141, 254);
/* oklch */ color: oklch(67.8% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#a6aeff',
    500: '#768dfe',
    950: '#000000',
  },
}
SCSS
$custom: #768dfe;
$custom-light: #a6aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#768dfe",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 229.853,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.16789,
    "h": 272.5
  },
  "luminance": 0.30057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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