#768ECE#768ECE

#768ECE is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.4% C 0.100 H 267.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#768ECE
RGBrgb(118, 142, 206)
HSLhsl(224, 47%, 64%)
HSVhsv(224, 43%, 81%)
CMYKcmyk(42.7%, 31.1%, 0%, 19.2%)
CIE-LABlab(59.57, 8.06, -35.67)
CIE-LCHlch(59.57, 36.57, 282.73°)
OKLaboklab(65.42% -0.0037 -0.0999)
OKLCHoklch(65.42% 0.1 267.9)
XYZxyz(28.2813, 27.6523, 62.2278)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768ECE #CEB676
analogous
#76BACE #768ECE #8A76CE
triadic
#768ECE #CE768E #8ECE76
tetradic
#768ECE #CE76BA #CEB676 #76CE8A
square
#768ECE #CE76BA #CEB676 #76CE8A
split-complementary
#768ECE #CE8A76 #BACE76
monochromatic
#354F94 #4969BE #768ECE #A3B3DE #D0D8EE

Accessibility & contrast

On white

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

On black

6.53
#768ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768ECE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768ECE#FFFFFF#000000##000000
##768ECE1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D1
Deuteranopia (green-blind)
#6F8CCD
Tritanopia (blue-blind)
#579BA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ece;
/* rgb */ color: rgb(118, 142, 206);
/* oklch */ color: oklch(65.4% 0.100 267.9);
Tailwind
colors: {
  custom: {
    50: '#a1aedd',
    500: '#768ece',
    950: '#000000',
  },
}
SCSS
$custom: #768ece;
$custom-light: #a1aedd;
$custom-dark: #000000;
JSON
{
  "hex": "#768ece",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 223.636,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65423,
    "c": 0.09993,
    "h": 267.9
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#768ECE
secondary
#DFD7C0
accent
#932BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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