#768CD2#768CD2

#768CD2 is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.2% C 0.108 H 269.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#768CD2
RGBrgb(118, 140, 210)
HSLhsl(226, 51%, 64%)
HSVhsv(226, 44%, 82%)
CMYKcmyk(43.8%, 33.3%, 0%, 17.6%)
CIE-LABlab(59.21, 10.38, -38.48)
CIE-LCHlch(59.21, 39.86, 285.10°)
OKLaboklab(65.2% -0.0001 -0.108)
OKLCHoklch(65.2% 0.108 269.9)
XYZxyz(28.4785, 27.2593, 64.7212)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD2 #D2BC76
analogous
#76BAD2 #768CD2 #8E76D2
triadic
#768CD2 #D2768C #8CD276
tetradic
#768CD2 #D276BA #D2BC76 #76D28E
square
#768CD2 #D276BA #D2BC76 #76D28E
split-complementary
#768CD2 #D28E76 #BAD276
monochromatic
#334C9B #4865C3 #768CD2 #A4B3E1 #D2D9F0

Accessibility & contrast

On white

3.25
#768CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#768CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD2#FFFFFF#000000##000000
##768CD21.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#6A8BD0
Tritanopia (blue-blind)
#569AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd2;
/* rgb */ color: rgb(118, 140, 210);
/* oklch */ color: oklch(65.2% 0.108 269.9);
Tailwind
colors: {
  custom: {
    50: '#a1ade0',
    500: '#768cd2',
    950: '#000000',
  },
}
SCSS
$custom: #768cd2;
$custom-light: #a1ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd2",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 225.652,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65204,
    "c": 0.10799,
    "h": 269.9
  },
  "luminance": 0.27261
}

Semantic roles & 50–950 ramp

primary
#768CD2
secondary
#E2DAC2
accent
#9A28BE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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