#768BF7#768BF7

#768BF7 is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.0% C 0.161 H 273.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#768BF7
RGBrgb(118, 139, 247)
HSLhsl(230, 89%, 72%)
HSVhsv(230, 52%, 97%)
CMYKcmyk(52.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(60.81, 22.07, -56.52)
CIE-LCHlch(60.81, 60.68, 291.33°)
OKLaboklab(67.04% 0.0086 -0.1606)
OKLCHoklch(67.04% 0.161 273)
XYZxyz(33.4869, 29.0300, 91.8164)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF7 #F7E276
analogous
#76CBF7 #768BF7 #A276F7
triadic
#768BF7 #F7768B #8BF776
tetradic
#768BF7 #F776CB #F7E276 #76F7A2
square
#768BF7 #F776CB #F7E276 #76F7A2
split-complementary
#768BF7 #F7A276 #CBF776
monochromatic
#0D31E5 #3C5AF4 #768BF7 #B0BCFA #E2E7FD

Accessibility & contrast

On white

3.09
#768BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#768BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF7#FFFFFF#000000##000000
##768BF71.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FB
Deuteranopia (green-blind)
#4E8EF5
Tritanopia (blue-blind)
#39A2B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768bf7;
/* rgb */ color: rgb(118, 139, 247);
/* oklch */ color: oklch(67.0% 0.161 273.0);
Tailwind
colors: {
  custom: {
    50: '#a5acfa',
    500: '#768bf7',
    950: '#000000',
  },
}
SCSS
$custom: #768bf7;
$custom-light: #a5acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf7",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 230.233,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.16088,
    "h": 273
  },
  "luminance": 0.29032
}

Semantic roles & 50–950 ramp

primary
#768BF7
secondary
#F5F0D4
accent
#C000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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