#768CFC#768CFC

#768CFC is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.166 H 272.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#768CFC
RGBrgb(118, 140, 252)
HSLhsl(230, 96%, 73%)
HSVhsv(230, 53%, 99%)
CMYKcmyk(53.2%, 44.4%, 0%, 1.2%)
CIE-LABlab(61.34, 23.02, -58.43)
CIE-LCHlch(61.34, 62.80, 291.51°)
OKLaboklab(67.53% 0.0082 -0.1662)
OKLCHoklch(67.53% 0.166 272.8)
XYZxyz(34.4143, 29.6336, 95.9830)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CFC #FCE676
analogous
#76CFFC #768CFC #A376FC
triadic
#768CFC #FC768C #8CFC76
tetradic
#768CFC #FC76CF #FCE676 #76FCA3
square
#768CFC #FC76CF #FCE676 #76FCA3
split-complementary
#768CFC #FCA376 #CFFC76
monochromatic
#052CF2 #3A5AFB #768CFC #B2BEFD #E1E6FE

Accessibility & contrast

On white

3.03
#768CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#768CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CFC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CFC#FFFFFF#000000##000000
##768CFC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#4B8FFA
Tritanopia (blue-blind)
#33A4B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768cfc;
/* rgb */ color: rgb(118, 140, 252);
/* oklch */ color: oklch(67.5% 0.166 272.8);
Tailwind
colors: {
  custom: {
    50: '#a6adfe',
    500: '#768cfc',
    950: '#000000',
  },
}
SCSS
$custom: #768cfc;
$custom-light: #a6adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#768cfc",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 230.149,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67527,
    "c": 0.16643,
    "h": 272.8
  },
  "luminance": 0.29636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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