#768FFC#768FFC

#768FFC is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.163 H 271.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#768FFC
RGBrgb(118, 143, 252)
HSLhsl(229, 96%, 73%)
HSVhsv(229, 53%, 99%)
CMYKcmyk(53.2%, 43.3%, 0%, 1.2%)
CIE-LABlab(62.10, 21.25, -57.21)
CIE-LCHlch(62.10, 61.03, 290.38°)
OKLaboklab(68.11% 0.005 -0.1626)
OKLCHoklch(68.11% 0.163 271.7)
XYZxyz(34.8586, 30.5223, 96.1311)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FFC #FCE376
analogous
#76D2FC #768FFC #A076FC
triadic
#768FFC #FC768F #8FFC76
tetradic
#768FFC #FC76D2 #FCE376 #76FCA0
square
#768FFC #FC76D2 #FCE376 #76FCA0
split-complementary
#768FFC #FCA076 #D2FC76
monochromatic
#0532F2 #3A5EFB #768FFC #B2C0FD #E1E7FE

Accessibility & contrast

On white

2.96
#768FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#768FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FFC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FFC#FFFFFF#000000##000000
##768FFC1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#32A7B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768ffc;
/* rgb */ color: rgb(118, 143, 252);
/* oklch */ color: oklch(68.1% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#a6affe',
    500: '#768ffc',
    950: '#000000',
  },
}
SCSS
$custom: #768ffc;
$custom-light: #a6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#768ffc",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 228.806,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68112,
    "c": 0.1627,
    "h": 271.7
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#768FFC
secondary
#F7F0D4
accent
#BB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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