#768CDC#768CDC

#768CDC is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.7% C 0.122 H 271.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#768CDC
RGBrgb(118, 140, 220)
HSLhsl(227, 59%, 66%)
HSVhsv(227, 46%, 86%)
CMYKcmyk(46.4%, 36.4%, 0%, 13.7%)
CIE-LABlab(59.68, 13.31, -43.34)
CIE-LCHlch(59.68, 45.34, 287.08°)
OKLaboklab(65.72% 0.0023 -0.1221)
OKLCHoklch(65.72% 0.122 271.1)
XYZxyz(29.7635, 27.7733, 71.4887)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CDC #DCC676
analogous
#76BFDC #768CDC #9376DC
triadic
#768CDC #DC768C #8CDC76
tetradic
#768CDC #DC76BF #DCC676 #76DC93
square
#768CDC #DC76BF #DCC676 #76DC93
split-complementary
#768CDC #DC9376 #BFDC76
monochromatic
#2C47AC #4563D0 #768CDC #A7B5E8 #D7DEF5

Accessibility & contrast

On white

3.20
#768CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#768CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CDC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CDC#FFFFFF#000000##000000
##768CDC1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#658CDA
Tritanopia (blue-blind)
#509DAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768cdc;
/* rgb */ color: rgb(118, 140, 220);
/* oklch */ color: oklch(65.7% 0.122 271.1);
Tailwind
colors: {
  custom: {
    50: '#a2ade7',
    500: '#768cdc',
    950: '#000000',
  },
}
SCSS
$custom: #768cdc;
$custom-light: #a2ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#768cdc",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 227.059,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65721,
    "c": 0.12213,
    "h": 271.1
  },
  "luminance": 0.27775
}

Semantic roles & 50–950 ramp

primary
#768CDC
secondary
#E8E0C6
accent
#A31FC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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