#768AF6#768AF6

#768AF6 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.161 H 273.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#768AF6
RGBrgb(118, 138, 246)
HSLhsl(231, 88%, 71%)
HSVhsv(231, 52%, 96%)
CMYKcmyk(52%, 43.9%, 0%, 3.5%)
CIE-LABlab(60.50, 22.36, -56.47)
CIE-LCHlch(60.50, 60.73, 291.60°)
OKLaboklab(66.78% 0.0095 -0.1605)
OKLCHoklch(66.78% 0.161 273.4)
XYZxyz(33.1889, 28.6801, 90.9579)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AF6 #F6E276
analogous
#76CAF6 #768AF6 #A276F6
triadic
#768AF6 #F6768A #8AF676
tetradic
#768AF6 #F676CA #F6E276 #76F6A2
square
#768AF6 #F676CA #F6E276 #76F6A2
split-complementary
#768AF6 #F6A276 #CAF676
monochromatic
#0F30E3 #3D59F2 #768AF6 #AFBBFA #E2E6FD

Accessibility & contrast

On white

3.12
#768AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#768AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AF6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AF6#FFFFFF#000000##000000
##768AF61.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#3BA1B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768af6;
/* rgb */ color: rgb(118, 138, 246);
/* oklch */ color: oklch(66.8% 0.161 273.4);
Tailwind
colors: {
  custom: {
    50: '#a5abfa',
    500: '#768af6',
    950: '#000000',
  },
}
SCSS
$custom: #768af6;
$custom-light: #a5abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#768af6",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 230.625,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.16078,
    "h": 273.4
  },
  "luminance": 0.28682
}

Semantic roles & 50–950 ramp

primary
#768AF6
secondary
#F5EFD3
accent
#C101E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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