#768DFC#768DFC

#768DFC is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.165 H 272.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#768DFC
RGBrgb(118, 141, 252)
HSLhsl(230, 96%, 73%)
HSVhsv(230, 53%, 99%)
CMYKcmyk(53.2%, 44%, 0%, 1.2%)
CIE-LABlab(61.59, 22.43, -58.02)
CIE-LCHlch(61.59, 62.21, 291.14°)
OKLaboklab(67.72% 0.0071 -0.165)
OKLCHoklch(67.72% 0.165 272.5)
XYZxyz(34.5611, 29.9272, 96.0319)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DFC #FCE576
analogous
#76D0FC #768DFC #A276FC
triadic
#768DFC #FC768D #8DFC76
tetradic
#768DFC #FC76D0 #FCE576 #76FCA2
square
#768DFC #FC76D0 #FCE576 #76FCA2
split-complementary
#768DFC #FCA276 #D0FC76
monochromatic
#052EF2 #3A5BFB #768DFC #B2BFFD #E1E6FE

Accessibility & contrast

On white

3.01
#768DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#768DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DFC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DFC#FFFFFF#000000##000000
##768DFC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#4D8FFA
Tritanopia (blue-blind)
#33A5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768dfc;
/* rgb */ color: rgb(118, 141, 252);
/* oklch */ color: oklch(67.7% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#a6aefe',
    500: '#768dfc',
    950: '#000000',
  },
}
SCSS
$custom: #768dfc;
$custom-light: #a6aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#768dfc",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 229.701,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67721,
    "c": 0.16518,
    "h": 272.5
  },
  "luminance": 0.2993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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