#768FF8#768FF8

#768FF8 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.157 H 271.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#768FF8
RGBrgb(118, 143, 248)
HSLhsl(228, 90%, 72%)
HSVhsv(228, 52%, 97%)
CMYKcmyk(52.4%, 42.3%, 0%, 2.7%)
CIE-LABlab(61.89, 20.02, -55.35)
CIE-LCHlch(61.89, 58.86, 289.88°)
OKLaboklab(67.88% 0.0043 -0.1572)
OKLCHoklch(67.88% 0.157 271.6)
XYZxyz(34.2315, 30.2714, 92.8279)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF8 #F8DF76
analogous
#76D0F8 #768FF8 #9E76F8
triadic
#768FF8 #F8768F #8FF876
tetradic
#768FF8 #F876D0 #F8DF76 #76F89E
square
#768FF8 #F876D0 #F8DF76 #76F89E
split-complementary
#768FF8 #F89E76 #D0F876
monochromatic
#0C36E8 #3C5FF5 #768FF8 #B0BFFB #E2E7FE

Accessibility & contrast

On white

2.98
#768FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#768FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FF8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF8#FFFFFF#000000##000000
##768FF81.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#37A6B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ff8;
/* rgb */ color: rgb(118, 143, 248);
/* oklch */ color: oklch(67.9% 0.157 271.6);
Tailwind
colors: {
  custom: {
    50: '#a5affb',
    500: '#768ff8',
    950: '#000000',
  },
}
SCSS
$custom: #768ff8;
$custom-light: #a5affb;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff8",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 228.462,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67878,
    "c": 0.15725,
    "h": 271.6
  },
  "luminance": 0.30274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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