#768CFB#768CFB

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

Color values

HEX#768CFB
RGBrgb(118, 140, 251)
HSLhsl(230, 94%, 72%)
HSVhsv(230, 53%, 98%)
CMYKcmyk(53%, 44.2%, 0%, 1.6%)
CIE-LABlab(61.28, 22.71, -57.97)
CIE-LCHlch(61.28, 62.26, 291.40°)
OKLaboklab(67.47% 0.0081 -0.1649)
OKLCHoklch(67.47% 0.165 272.8)
XYZxyz(34.2562, 29.5704, 95.1506)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CFB #FBE576
analogous
#76CFFB #768CFB #A276FB
triadic
#768CFB #FB768C #8CFB76
tetradic
#768CFB #FB76CF #FBE576 #76FBA2
square
#768CFB #FB76CF #FBE576 #76FBA2
split-complementary
#768CFB #FBA276 #CFFB76
monochromatic
#072DF0 #3B5AF9 #768CFB #B1BEFD #E1E6FE

Accessibility & contrast

On white

3.04
#768CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#768CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CFB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CFB#FFFFFF#000000##000000
##768CFB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#34A4B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768cfb;
/* rgb */ color: rgb(118, 140, 251);
/* oklch */ color: oklch(67.5% 0.165 272.8);
Tailwind
colors: {
  custom: {
    50: '#a6adfd',
    500: '#768cfb',
    950: '#000000',
  },
}
SCSS
$custom: #768cfb;
$custom-light: #a6adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#768cfb",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 230.075,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67467,
    "c": 0.16508,
    "h": 272.8
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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