#768CD6#768CD6

#768CD6 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.4% C 0.114 H 270.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#768CD6
RGBrgb(118, 140, 214)
HSLhsl(226, 54%, 65%)
HSVhsv(226, 45%, 84%)
CMYKcmyk(44.9%, 34.6%, 0%, 16.1%)
CIE-LABlab(59.40, 11.55, -40.43)
CIE-LCHlch(59.40, 42.05, 285.94°)
OKLaboklab(65.41% 0.0009 -0.1136)
OKLCHoklch(65.41% 0.114 270.4)
XYZxyz(28.9831, 27.4611, 67.3786)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD6 #D6C076
analogous
#76BCD6 #768CD6 #9076D6
triadic
#768CD6 #D6768C #8CD676
tetradic
#768CD6 #D676BC #D6C076 #76D690
square
#768CD6 #D676BC #D6C076 #76D690
split-complementary
#768CD6 #D69076 #BCD676
monochromatic
#304AA1 #4764C8 #768CD6 #A5B4E4 #D4DBF2

Accessibility & contrast

On white

3.23
#768CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#768CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD6#FFFFFF#000000##000000
##768CD61.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D9
Deuteranopia (green-blind)
#688BD4
Tritanopia (blue-blind)
#539BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd6;
/* rgb */ color: rgb(118, 140, 214);
/* oklch */ color: oklch(65.4% 0.114 270.4);
Tailwind
colors: {
  custom: {
    50: '#a2ade3',
    500: '#768cd6',
    950: '#000000',
  },
}
SCSS
$custom: #768cd6;
$custom-light: #a2ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd6",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 226.25,
    "s": 53.933,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65408,
    "c": 0.11365,
    "h": 270.4
  },
  "luminance": 0.27463
}

Semantic roles & 50–950 ramp

primary
#768CD6
secondary
#E4DDC4
accent
#9D24C1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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