#768ECD#768ECD

#768ECD is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.4% C 0.099 H 267.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#768ECD
RGBrgb(118, 142, 205)
HSLhsl(223, 47%, 63%)
HSVhsv(223, 42%, 80%)
CMYKcmyk(42.4%, 30.7%, 0%, 19.6%)
CIE-LABlab(59.53, 7.77, -35.18)
CIE-LCHlch(59.53, 36.03, 282.45°)
OKLaboklab(65.38% -0.004 -0.0984)
OKLCHoklch(65.38% 0.099 267.7)
XYZxyz(28.1602, 27.6038, 61.5900)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768ECD #CDB576
analogous
#76B9CD #768ECD #8976CD
triadic
#768ECD #CD768E #8ECD76
tetradic
#768ECD #CD76B9 #CDB576 #76CD89
square
#768ECD #CD76B9 #CDB576 #76CD89
split-complementary
#768ECD #CD8976 #B9CD76
monochromatic
#364F93 #4969BD #768ECD #A3B3DD #D0D8EE

Accessibility & contrast

On white

3.22
#768ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#768ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768ECD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768ECD#FFFFFF#000000##000000
##768ECD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#589BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ecd;
/* rgb */ color: rgb(118, 142, 205);
/* oklch */ color: oklch(65.4% 0.099 267.7);
Tailwind
colors: {
  custom: {
    50: '#a1aedc',
    500: '#768ecd',
    950: '#000000',
  },
}
SCSS
$custom: #768ecd;
$custom-light: #a1aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#768ecd",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 223.448,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65375,
    "c": 0.09852,
    "h": 267.7
  },
  "luminance": 0.27605
}

Semantic roles & 50–950 ramp

primary
#768ECD
secondary
#DFD6C0
accent
#932CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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