#768CD5#768CD5

#768CD5 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.4% C 0.112 H 270.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#768CD5
RGBrgb(118, 140, 213)
HSLhsl(226, 53%, 65%)
HSVhsv(226, 45%, 84%)
CMYKcmyk(44.6%, 34.3%, 0%, 16.5%)
CIE-LABlab(59.35, 11.25, -39.95)
CIE-LCHlch(59.35, 41.50, 285.73°)
OKLaboklab(65.36% 0.0006 -0.1122)
OKLCHoklch(65.36% 0.112 270.3)
XYZxyz(28.8558, 27.4102, 66.7081)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD5 #D5BF76
analogous
#76BCD5 #768CD5 #8F76D5
triadic
#768CD5 #D5768C #8CD576
tetradic
#768CD5 #D576BC #D5BF76 #76D58F
square
#768CD5 #D576BC #D5BF76 #76D58F
split-complementary
#768CD5 #D58F76 #BCD576
monochromatic
#314BA0 #4765C7 #768CD5 #A5B3E3 #D4DBF2

Accessibility & contrast

On white

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

On black

6.48
#768CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD5#FFFFFF#000000##000000
##768CD51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D8
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#549BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd5;
/* rgb */ color: rgb(118, 140, 213);
/* oklch */ color: oklch(65.4% 0.112 270.3);
Tailwind
colors: {
  custom: {
    50: '#a2ade2',
    500: '#768cd5',
    950: '#000000',
  },
}
SCSS
$custom: #768cd5;
$custom-light: #a2ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd5",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 226.105,
    "s": 53.073,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65356,
    "c": 0.11224,
    "h": 270.3
  },
  "luminance": 0.27412
}

Semantic roles & 50–950 ramp

primary
#768CD5
secondary
#E4DCC3
accent
#9C25C1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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