#768AFC#768AFC

#768AFC is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.1% C 0.169 H 273.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#768AFC
RGBrgb(118, 138, 252)
HSLhsl(231, 96%, 73%)
HSVhsv(231, 53%, 99%)
CMYKcmyk(53.2%, 45.2%, 0%, 1.2%)
CIE-LABlab(60.83, 24.21, -59.24)
CIE-LCHlch(60.83, 63.99, 292.23°)
OKLaboklab(67.14% 0.0104 -0.1686)
OKLCHoklch(67.14% 0.169 273.5)
XYZxyz(34.1247, 29.0545, 95.8865)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AFC #FCE876
analogous
#76CDFC #768AFC #A576FC
triadic
#768AFC #FC768A #8AFC76
tetradic
#768AFC #FC76CD #FCE876 #76FCA5
square
#768AFC #FC76CD #FCE876 #76FCA5
split-complementary
#768AFC #FCA576 #CDFC76
monochromatic
#0529F2 #3A57FB #768AFC #B2BDFD #E1E5FE

Accessibility & contrast

On white

3.08
#768AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#768AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AFC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AFC#FFFFFF#000000##000000
##768AFC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#478DFA
Tritanopia (blue-blind)
#34A3B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768afc;
/* rgb */ color: rgb(118, 138, 252);
/* oklch */ color: oklch(67.1% 0.169 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6abfe',
    500: '#768afc',
    950: '#000000',
  },
}
SCSS
$custom: #768afc;
$custom-light: #a6abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#768afc",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 231.045,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.16895,
    "h": 273.5
  },
  "luminance": 0.29057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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