#768AF8#768AF8

#768AF8 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.9% C 0.164 H 273.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#768AF8
RGBrgb(118, 138, 248)
HSLhsl(231, 90%, 72%)
HSVhsv(231, 52%, 97%)
CMYKcmyk(52.4%, 44.4%, 0%, 2.7%)
CIE-LABlab(60.61, 22.97, -57.39)
CIE-LCHlch(60.61, 61.82, 291.81°)
OKLaboklab(66.9% 0.0098 -0.1632)
OKLCHoklch(66.9% 0.164 273.4)
XYZxyz(33.4975, 28.8036, 92.5832)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AF8 #F8E476
analogous
#76CBF8 #768AF8 #A376F8
triadic
#768AF8 #F8768A #8AF876
tetradic
#768AF8 #F876CB #F8E476 #76F8A3
square
#768AF8 #F876CB #F8E476 #76F8A3
split-complementary
#768AF8 #F8A376 #CBF876
monochromatic
#0C2EE8 #3C58F5 #768AF8 #B0BCFB #E2E6FE

Accessibility & contrast

On white

3.11
#768AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#768AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AF8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AF8#FFFFFF#000000##000000
##768AF81.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#38A2B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768af8;
/* rgb */ color: rgb(118, 138, 248);
/* oklch */ color: oklch(66.9% 0.164 273.4);
Tailwind
colors: {
  custom: {
    50: '#a5abfb',
    500: '#768af8',
    950: '#000000',
  },
}
SCSS
$custom: #768af8;
$custom-light: #a5abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#768af8",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 230.769,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.669,
    "c": 0.1635,
    "h": 273.4
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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