#768AFF#768AFF

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

Color values

HEX#768AFF
RGBrgb(118, 138, 255)
HSLhsl(231, 100%, 73%)
HSVhsv(231, 54%, 100%)
CMYKcmyk(53.7%, 45.9%, 0%, 0%)
CIE-LABlab(61.00, 25.14, -60.61)
CIE-LCHlch(61.00, 65.62, 292.52°)
OKLaboklab(67.32% 0.0108 -0.1727)
OKLCHoklch(67.32% 0.173 273.6)
XYZxyz(34.6039, 29.2461, 98.4100)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AFF #FFEB76
analogous
#76CEFF #768AFF #A676FF
triadic
#768AFF #FF768A #8AFF76
tetradic
#768AFF #FF76CE #FFEB76 #76FFA6
square
#768AFF #FF76CE #FFEB76 #76FFA6
split-complementary
#768AFF #FFA676 #CEFF76
monochromatic
#0025FB #3956FF #768AFF #B3BEFF #E0E5FF

Accessibility & contrast

On white

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

On black

6.85
#768AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AFF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AFF#FFFFFF#000000##000000
##768AFF1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#448EFC
Tritanopia (blue-blind)
#30A4B8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768aff;
/* rgb */ color: rgb(118, 138, 255);
/* oklch */ color: oklch(67.3% 0.173 273.6);
Tailwind
colors: {
  custom: {
    50: '#a6abff',
    500: '#768aff',
    950: '#000000',
  },
}
SCSS
$custom: #768aff;
$custom-light: #a6abff;
$custom-dark: #000000;
JSON
{
  "hex": "#768aff",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 231.241,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67324,
    "c": 0.173,
    "h": 273.6
  },
  "luminance": 0.29249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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