#768CE3#768CE3

#768CE3 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.1% C 0.132 H 271.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#768CE3
RGBrgb(118, 140, 227)
HSLhsl(228, 66%, 68%)
HSVhsv(228, 48%, 89%)
CMYKcmyk(48%, 38.3%, 0%, 11%)
CIE-LABlab(60.03, 15.40, -46.70)
CIE-LCHlch(60.03, 49.17, 288.25°)
OKLaboklab(66.1% 0.0038 -0.1319)
OKLCHoklch(66.1% 0.132 271.7)
XYZxyz(30.7100, 28.1519, 76.4738)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CE3 #E3CD76
analogous
#76C2E3 #768CE3 #9676E3
triadic
#768CE3 #E3768C #8CE376
tetradic
#768CE3 #E376C2 #E3CD76 #76E396
square
#768CE3 #E376C2 #E3CD76 #76E396
split-complementary
#768CE3 #E39676 #C2E376
monochromatic
#2643B9 #4361D9 #768CE3 #A9B7ED #DCE1F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768CE3#FFFFFF#000000##000000
##768CE31.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)
#6B96E6
Deuteranopia (green-blind)
#608CE1
Tritanopia (blue-blind)
#4B9EAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768ce3;
/* rgb */ color: rgb(118, 140, 227);
/* oklch */ color: oklch(66.1% 0.132 271.7);
Tailwind
colors: {
  custom: {
    50: '#a3adec',
    500: '#768ce3',
    950: '#000000',
  },
}
SCSS
$custom: #768ce3;
$custom-light: #a3adec;
$custom-dark: #000000;
JSON
{
  "hex": "#768ce3",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 227.89,
    "s": 66.061,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66097,
    "c": 0.13195,
    "h": 271.7
  },
  "luminance": 0.28154
}

Semantic roles & 50–950 ramp

primary
#768CE3
secondary
#EBE4C9
accent
#A918CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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