#768AED#768AED

#768AED is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.3% C 0.148 H 273.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#768AED
RGBrgb(118, 138, 237)
HSLhsl(230, 77%, 70%)
HSVhsv(230, 50%, 93%)
CMYKcmyk(50.2%, 41.8%, 0%, 7.1%)
CIE-LABlab(60.02, 19.60, -52.26)
CIE-LCHlch(60.02, 55.82, 290.56°)
OKLaboklab(66.26% 0.008 -0.1482)
OKLCHoklch(66.26% 0.148 273.1)
XYZxyz(31.8409, 28.1409, 83.8583)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AED #EDD976
analogous
#76C6ED #768AED #9E76ED
triadic
#768AED #ED768A #8AED76
tetradic
#768AED #ED76C6 #EDD976 #76ED9E
square
#768AED #ED76C6 #EDD976 #76ED9E
split-complementary
#768AED #ED9E76 #C6ED76
monochromatic
#1B39CE #405CE6 #768AED #ACB8F4 #E2E6FB

Accessibility & contrast

On white

3.17
#768AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#768AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AED
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AED#FFFFFF#000000##000000
##768AED1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#439FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768aed;
/* rgb */ color: rgb(118, 138, 237);
/* oklch */ color: oklch(66.3% 0.148 273.1);
Tailwind
colors: {
  custom: {
    50: '#a4abf3',
    500: '#768aed',
    950: '#000000',
  },
}
SCSS
$custom: #768aed;
$custom-light: #a4abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#768aed",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 229.916,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.1484,
    "h": 273.1
  },
  "luminance": 0.28143
}

Semantic roles & 50–950 ramp

primary
#768AED
secondary
#F0EBCE
accent
#B70DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768AED

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

Preview Lab → · Contrast checker → · Palette generator →

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