#768AE6#768AE6

#768AE6 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.139 H 272.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#768AE6
RGBrgb(118, 138, 230)
HSLhsl(229, 69%, 68%)
HSVhsv(229, 49%, 90%)
CMYKcmyk(48.7%, 40%, 0%, 9.8%)
CIE-LABlab(59.65, 17.48, -48.96)
CIE-LCHlch(59.65, 51.99, 289.65°)
OKLaboklab(65.86% 0.0068 -0.1385)
OKLCHoklch(65.86% 0.139 272.8)
XYZxyz(30.8381, 27.7398, 78.5769)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AE6 #E6D276
analogous
#76C2E6 #768AE6 #9A76E6
triadic
#768AE6 #E6768A #8AE676
tetradic
#768AE6 #E676C2 #E6D276 #76E69A
square
#768AE6 #E676C2 #E6D276 #76E69A
split-complementary
#768AE6 #E69A76 #C2E676
monochromatic
#233FBF #425EDD #768AE6 #AAB6EF #DEE2F9

Accessibility & contrast

On white

3.21
#768AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#768AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AE6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AE6#FFFFFF#000000##000000
##768AE61.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EA
Deuteranopia (green-blind)
#5B8BE4
Tritanopia (blue-blind)
#499DAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768ae6;
/* rgb */ color: rgb(118, 138, 230);
/* oklch */ color: oklch(65.9% 0.139 272.8);
Tailwind
colors: {
  custom: {
    50: '#a3abee',
    500: '#768ae6',
    950: '#000000',
  },
}
SCSS
$custom: #768ae6;
$custom-light: #a3abee;
$custom-dark: #000000;
JSON
{
  "hex": "#768ae6",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 230
  },
  "hsl": {
    "h": 229.286,
    "s": 69.136,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.13867,
    "h": 272.8
  },
  "luminance": 0.27742
}

Semantic roles & 50–950 ramp

primary
#768AE6
secondary
#EDE7CB
accent
#AF14D1
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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