#768CE2#768CE2

#768CE2 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.131 H 271.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#768CE2
RGBrgb(118, 140, 226)
HSLhsl(228, 65%, 67%)
HSVhsv(228, 48%, 89%)
CMYKcmyk(47.8%, 38.1%, 0%, 11.4%)
CIE-LABlab(59.98, 15.10, -46.22)
CIE-LCHlch(59.98, 48.63, 288.09°)
OKLaboklab(66.04% 0.0036 -0.1305)
OKLCHoklch(66.04% 0.131 271.6)
XYZxyz(30.5724, 28.0969, 75.7490)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CE2 #E2CC76
analogous
#76C2E2 #768CE2 #9676E2
triadic
#768CE2 #E2768C #8CE276
tetradic
#768CE2 #E276C2 #E2CC76 #76E296
square
#768CE2 #E276C2 #E2CC76 #76E296
split-complementary
#768CE2 #E29676 #C2E276
monochromatic
#2744B7 #4362D7 #768CE2 #A9B6ED #DBE1F7

Accessibility & contrast

On white

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

On black

6.62
#768CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CE2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CE2#FFFFFF#000000##000000
##768CE21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E5
Deuteranopia (green-blind)
#618CE0
Tritanopia (blue-blind)
#4C9EAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768ce2;
/* rgb */ color: rgb(118, 140, 226);
/* oklch */ color: oklch(66.0% 0.131 271.6);
Tailwind
colors: {
  custom: {
    50: '#a3adeb',
    500: '#768ce2',
    950: '#000000',
  },
}
SCSS
$custom: #768ce2;
$custom-light: #a3adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#768ce2",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 227.778,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66042,
    "c": 0.13055,
    "h": 271.6
  },
  "luminance": 0.28099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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