#768AE3#768AE3

#768AE3 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.134 H 272.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#768AE3
RGBrgb(118, 138, 227)
HSLhsl(229, 66%, 68%)
HSVhsv(229, 48%, 89%)
CMYKcmyk(48%, 39.2%, 0%, 11%)
CIE-LABlab(59.50, 16.58, -47.53)
CIE-LCHlch(59.50, 50.34, 289.23°)
OKLaboklab(65.69% 0.0062 -0.1343)
OKLCHoklch(65.69% 0.134 272.6)
XYZxyz(30.4204, 27.5727, 76.3773)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AE3 #E3CF76
analogous
#76C0E3 #768AE3 #9976E3
triadic
#768AE3 #E3768A #8AE376
tetradic
#768AE3 #E376C0 #E3CF76 #76E399
square
#768AE3 #E376C0 #E3CF76 #76E399
split-complementary
#768AE3 #E39976 #C0E376
monochromatic
#2641B9 #435FD9 #768AE3 #A9B5ED #DCE1F8

Accessibility & contrast

On white

3.22
#768AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#768AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AE3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AE3#FFFFFF#000000##000000
##768AE31.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#5D8BE1
Tritanopia (blue-blind)
#4B9DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ae3;
/* rgb */ color: rgb(118, 138, 227);
/* oklch */ color: oklch(65.7% 0.134 272.6);
Tailwind
colors: {
  custom: {
    50: '#a3abec',
    500: '#768ae3',
    950: '#000000',
  },
}
SCSS
$custom: #768ae3;
$custom-light: #a3abec;
$custom-dark: #000000;
JSON
{
  "hex": "#768ae3",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 227
  },
  "hsl": {
    "h": 228.991,
    "s": 66.061,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65693,
    "c": 0.13448,
    "h": 272.6
  },
  "luminance": 0.27575
}

Semantic roles & 50–950 ramp

primary
#768AE3
secondary
#EBE5C9
accent
#AC18CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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