#768CD8#768CD8

#768CD8 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.5% C 0.116 H 270.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#768CD8
RGBrgb(118, 140, 216)
HSLhsl(227, 56%, 65%)
HSVhsv(227, 45%, 85%)
CMYKcmyk(45.4%, 35.2%, 0%, 15.3%)
CIE-LABlab(59.49, 12.13, -41.41)
CIE-LCHlch(59.49, 43.15, 286.33°)
OKLaboklab(65.51% 0.0014 -0.1165)
OKLCHoklch(65.51% 0.116 270.7)
XYZxyz(29.2401, 27.5639, 68.7321)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD8 #D8C276
analogous
#76BDD8 #768CD8 #9176D8
triadic
#768CD8 #D8768C #8CD876
tetradic
#768CD8 #D876BD #D8C276 #76D891
square
#768CD8 #D876BD #D8C276 #76D891
split-complementary
#768CD8 #D89176 #BDD876
monochromatic
#2F49A5 #4664CA #768CD8 #A6B4E6 #D5DCF3

Accessibility & contrast

On white

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

On black

6.51
#768CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD8#FFFFFF#000000##000000
##768CD81.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DB
Deuteranopia (green-blind)
#678BD6
Tritanopia (blue-blind)
#529CA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd8;
/* rgb */ color: rgb(118, 140, 216);
/* oklch */ color: oklch(65.5% 0.116 270.7);
Tailwind
colors: {
  custom: {
    50: '#a2ade4',
    500: '#768cd8',
    950: '#000000',
  },
}
SCSS
$custom: #768cd8;
$custom-light: #a2ade4;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd8",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 226.531,
    "s": 55.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65511,
    "c": 0.11649,
    "h": 270.7
  },
  "luminance": 0.27566
}

Semantic roles & 50–950 ramp

primary
#768CD8
secondary
#E5DEC4
accent
#9F22C3
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1015
muted
#7F7F84

Preview Lab

Preview with #768CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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