#768CD7#768CD7

#768CD7 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.5% C 0.115 H 270.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#768CD7
RGBrgb(118, 140, 215)
HSLhsl(226, 55%, 65%)
HSVhsv(226, 45%, 84%)
CMYKcmyk(45.1%, 34.9%, 0%, 15.7%)
CIE-LABlab(59.45, 11.84, -40.92)
CIE-LCHlch(59.45, 42.60, 286.14°)
OKLaboklab(65.46% 0.0011 -0.1151)
OKLCHoklch(65.46% 0.115 270.6)
XYZxyz(29.1112, 27.5124, 68.0533)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD7 #D7C176
analogous
#76BCD7 #768CD7 #9176D7
triadic
#768CD7 #D7768C #8CD776
tetradic
#768CD7 #D776BC #D7C176 #76D791
square
#768CD7 #D776BC #D7C176 #76D791
split-complementary
#768CD7 #D79176 #BCD776
monochromatic
#304AA3 #4764C9 #768CD7 #A5B4E5 #D5DCF3

Accessibility & contrast

On white

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

On black

6.50
#768CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD7#FFFFFF#000000##000000
##768CD71.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DA
Deuteranopia (green-blind)
#688BD5
Tritanopia (blue-blind)
#539CA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd7;
/* rgb */ color: rgb(118, 140, 215);
/* oklch */ color: oklch(65.5% 0.115 270.6);
Tailwind
colors: {
  custom: {
    50: '#a2ade3',
    500: '#768cd7',
    950: '#000000',
  },
}
SCSS
$custom: #768cd7;
$custom-light: #a2ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd7",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 226.392,
    "s": 54.802,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.11508,
    "h": 270.6
  },
  "luminance": 0.27514
}

Semantic roles & 50–950 ramp

primary
#768CD7
secondary
#E5DDC4
accent
#9E23C2
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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