#768BFC#768BFC

#768BFC is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.168 H 273.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#768BFC
RGBrgb(118, 139, 252)
HSLhsl(231, 96%, 73%)
HSVhsv(231, 53%, 99%)
CMYKcmyk(53.2%, 44.8%, 0%, 1.2%)
CIE-LABlab(61.08, 23.62, -58.83)
CIE-LCHlch(61.08, 63.40, 291.87°)
OKLaboklab(67.33% 0.0093 -0.1674)
OKLCHoklch(67.33% 0.168 273.2)
XYZxyz(34.2688, 29.3427, 95.9345)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BFC #FCE776
analogous
#76CEFC #768BFC #A476FC
triadic
#768BFC #FC768B #8BFC76
tetradic
#768BFC #FC76CE #FCE776 #76FCA4
square
#768BFC #FC76CE #FCE776 #76FCA4
split-complementary
#768BFC #FCA476 #CEFC76
monochromatic
#052AF2 #3A58FB #768BFC #B2BEFD #E1E6FE

Accessibility & contrast

On white

3.06
#768BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#768BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BFC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BFC#FFFFFF#000000##000000
##768BFC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#33A4B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768bfc;
/* rgb */ color: rgb(118, 139, 252);
/* oklch */ color: oklch(67.3% 0.168 273.2);
Tailwind
colors: {
  custom: {
    50: '#a6acfe',
    500: '#768bfc',
    950: '#000000',
  },
}
SCSS
$custom: #768bfc;
$custom-light: #a6acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#768bfc",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 230.597,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67334,
    "c": 0.16769,
    "h": 273.2
  },
  "luminance": 0.29345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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