#768CD4#768CD4

#768CD4 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.3% C 0.111 H 270.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#768CD4
RGBrgb(118, 140, 212)
HSLhsl(226, 52%, 65%)
HSVhsv(226, 44%, 83%)
CMYKcmyk(44.3%, 34%, 0%, 16.9%)
CIE-LABlab(59.31, 10.96, -39.46)
CIE-LCHlch(59.31, 40.95, 285.53°)
OKLaboklab(65.31% 0.0004 -0.1108)
OKLCHoklch(65.31% 0.111 270.2)
XYZxyz(28.7292, 27.3596, 66.0417)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD4 #D4BE76
analogous
#76BBD4 #768CD4 #8F76D4
triadic
#768CD4 #D4768C #8CD476
tetradic
#768CD4 #D476BB #D4BE76 #76D48F
square
#768CD4 #D476BB #D4BE76 #76D48F
split-complementary
#768CD4 #D48F76 #BBD476
monochromatic
#324B9E #4765C5 #768CD4 #A5B3E3 #D3DAF1

Accessibility & contrast

On white

3.24
#768CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#768CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD4#FFFFFF#000000##000000
##768CD41.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D7
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#549BA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd4;
/* rgb */ color: rgb(118, 140, 212);
/* oklch */ color: oklch(65.3% 0.111 270.2);
Tailwind
colors: {
  custom: {
    50: '#a2ade1',
    500: '#768cd4',
    950: '#000000',
  },
}
SCSS
$custom: #768cd4;
$custom-light: #a2ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd4",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 225.957,
    "s": 52.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65305,
    "c": 0.11083,
    "h": 270.2
  },
  "luminance": 0.27361
}

Semantic roles & 50–950 ramp

primary
#768CD4
secondary
#E3DBC3
accent
#9C26C0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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