#768AFE#768AFE

#768AFE is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.3% C 0.172 H 273.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#768AFE
RGBrgb(118, 138, 254)
HSLhsl(231, 99%, 73%)
HSVhsv(231, 54%, 100%)
CMYKcmyk(53.5%, 45.7%, 0%, 0.4%)
CIE-LABlab(60.94, 24.83, -60.16)
CIE-LCHlch(60.94, 65.08, 292.43°)
OKLaboklab(67.26% 0.0106 -0.1713)
OKLCHoklch(67.26% 0.172 273.6)
XYZxyz(34.4433, 29.1819, 97.5644)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AFE #FEEA76
analogous
#76CEFE #768AFE #A676FE
triadic
#768AFE #FE768A #8AFE76
tetradic
#768AFE #FE76CE #FEEA76 #76FEA6
square
#768AFE #FE76CE #FEEA76 #76FEA6
split-complementary
#768AFE #FEA676 #CEFE76
monochromatic
#0226F8 #3956FE #768AFE #B3BEFE #E1E5FF

Accessibility & contrast

On white

3.07
#768AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#768AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AFE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AFE#FFFFFF#000000##000000
##768AFE1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#458EFB
Tritanopia (blue-blind)
#31A3B8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768afe;
/* rgb */ color: rgb(118, 138, 254);
/* oklch */ color: oklch(67.3% 0.172 273.6);
Tailwind
colors: {
  custom: {
    50: '#a6abff',
    500: '#768afe',
    950: '#000000',
  },
}
SCSS
$custom: #768afe;
$custom-light: #a6abff;
$custom-dark: #000000;
JSON
{
  "hex": "#768afe",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 231.176,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.17165,
    "h": 273.6
  },
  "luminance": 0.29184
}

Semantic roles & 50–950 ramp

primary
#768AFE
secondary
#F7F2D4
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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