#768BFB#768BFB

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

Color values

HEX#768BFB
RGBrgb(118, 139, 251)
HSLhsl(231, 94%, 72%)
HSVhsv(231, 53%, 98%)
CMYKcmyk(53%, 44.6%, 0%, 1.6%)
CIE-LABlab(61.03, 23.31, -58.37)
CIE-LCHlch(61.03, 62.85, 291.76°)
OKLaboklab(67.27% 0.0091 -0.1661)
OKLCHoklch(67.27% 0.166 273.2)
XYZxyz(34.1108, 29.2795, 95.1021)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BFB #FBE676
analogous
#76CEFB #768BFB #A376FB
triadic
#768BFB #FB768B #8BFB76
tetradic
#768BFB #FB76CE #FBE676 #76FBA3
square
#768BFB #FB76CE #FBE676 #76FBA3
split-complementary
#768BFB #FBA376 #CEFB76
monochromatic
#072CF0 #3B59F9 #768BFB #B1BDFD #E1E6FE

Accessibility & contrast

On white

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

On black

6.86
#768BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BFB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BFB#FFFFFF#000000##000000
##768BFB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#4A8EF9
Tritanopia (blue-blind)
#35A3B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768bfb;
/* rgb */ color: rgb(118, 139, 251);
/* oklch */ color: oklch(67.3% 0.166 273.2);
Tailwind
colors: {
  custom: {
    50: '#a6acfd',
    500: '#768bfb',
    950: '#000000',
  },
}
SCSS
$custom: #768bfb;
$custom-light: #a6acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#768bfb",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 230.526,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.16633,
    "h": 273.2
  },
  "luminance": 0.29282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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