#768EF7#768EF7

#768EF7 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.6% C 0.157 H 271.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#768EF7
RGBrgb(118, 142, 247)
HSLhsl(229, 89%, 72%)
HSVhsv(229, 52%, 97%)
CMYKcmyk(52.2%, 42.5%, 0%, 3.1%)
CIE-LABlab(61.58, 20.30, -55.30)
CIE-LCHlch(61.58, 58.91, 290.16°)
OKLaboklab(67.62% 0.0052 -0.157)
OKLCHoklch(67.62% 0.157 271.9)
XYZxyz(33.9273, 29.9107, 91.9632)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF7 #F7DF76
analogous
#76CFF7 #768EF7 #9F76F7
triadic
#768EF7 #F7768E #8EF776
tetradic
#768EF7 #F776CF #F7DF76 #76F79F
square
#768EF7 #F776CF #F7DF76 #76F79F
split-complementary
#768EF7 #F79F76 #CFF776
monochromatic
#0D36E5 #3C5EF4 #768EF7 #B0BEFA #E2E7FD

Accessibility & contrast

On white

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

On black

6.98
#768EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF7#FFFFFF#000000##000000
##768EF71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#538FF5
Tritanopia (blue-blind)
#39A5B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ef7;
/* rgb */ color: rgb(118, 142, 247);
/* oklch */ color: oklch(67.6% 0.157 271.9);
Tailwind
colors: {
  custom: {
    50: '#a5aefa',
    500: '#768ef7',
    950: '#000000',
  },
}
SCSS
$custom: #768ef7;
$custom-light: #a5aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef7",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 228.837,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.15713,
    "h": 271.9
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

primary
#768EF7
secondary
#F5EFD4
accent
#BB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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