#768CF5#768CF5

#768CF5 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.1% C 0.157 H 272.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#768CF5
RGBrgb(118, 140, 245)
HSLhsl(230, 86%, 71%)
HSVhsv(230, 52%, 96%)
CMYKcmyk(51.8%, 42.9%, 0%, 3.9%)
CIE-LABlab(60.96, 20.87, -55.19)
CIE-LCHlch(60.96, 59.00, 290.71°)
OKLaboklab(67.11% 0.0071 -0.1567)
OKLCHoklch(67.11% 0.157 272.6)
XYZxyz(33.3254, 29.1981, 90.2482)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF5 #F5DF76
analogous
#76CBF5 #768CF5 #9F76F5
triadic
#768CF5 #F5768C #8CF576
tetradic
#768CF5 #F576CB #F5DF76 #76F59F
square
#768CF5 #F576CB #F5DF76 #76F59F
split-complementary
#768CF5 #F59F76 #CBF576
monochromatic
#1034E0 #3D5CF1 #768CF5 #AFBCF9 #E2E7FD

Accessibility & contrast

On white

3.07
#768CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#768CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF5#FFFFFF#000000##000000
##768CF51.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#3BA3B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768cf5;
/* rgb */ color: rgb(118, 140, 245);
/* oklch */ color: oklch(67.1% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#a5adf9',
    500: '#768cf5',
    950: '#000000',
  },
}
SCSS
$custom: #768cf5;
$custom-light: #a5adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf5",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 229.606,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67113,
    "c": 0.15688,
    "h": 272.6
  },
  "luminance": 0.292
}

Semantic roles & 50–950 ramp

primary
#768CF5
secondary
#F4EED3
accent
#BC03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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