#768EF6#768EF6

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

Color values

HEX#768EF6
RGBrgb(118, 142, 246)
HSLhsl(229, 88%, 71%)
HSVhsv(229, 52%, 96%)
CMYKcmyk(52%, 42.3%, 0%, 3.5%)
CIE-LABlab(61.52, 19.99, -54.83)
CIE-LCHlch(61.52, 58.36, 290.03°)
OKLaboklab(67.57% 0.0051 -0.1557)
OKLCHoklch(67.57% 0.156 271.9)
XYZxyz(33.7734, 29.8491, 91.1527)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF6 #F6DE76
analogous
#76CEF6 #768EF6 #9E76F6
triadic
#768EF6 #F6768E #8EF676
tetradic
#768EF6 #F676CE #F6DE76 #76F69E
square
#768EF6 #F676CE #F6DE76 #76F69E
split-complementary
#768EF6 #F69E76 #CEF676
monochromatic
#0F37E3 #3D5FF2 #768EF6 #AFBDFA #E2E7FD

Accessibility & contrast

On white

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

On black

6.97
#768EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF6#FFFFFF#000000##000000
##768EF61.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AFA
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#3AA4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ef6;
/* rgb */ color: rgb(118, 142, 246);
/* oklch */ color: oklch(67.6% 0.156 271.9);
Tailwind
colors: {
  custom: {
    50: '#a5aefa',
    500: '#768ef6',
    950: '#000000',
  },
}
SCSS
$custom: #768ef6;
$custom-light: #a5aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef6",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 228.75,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.15575,
    "h": 271.9
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#768EF6
secondary
#F5EED3
accent
#BA01E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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