#768ACE#768ACE

#768ACE is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.6% C 0.105 H 270.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#768ACE
RGBrgb(118, 138, 206)
HSLhsl(226, 47%, 64%)
HSVhsv(226, 43%, 81%)
CMYKcmyk(42.7%, 33%, 0%, 19.2%)
CIE-LABlab(58.49, 10.40, -37.36)
CIE-LCHlch(58.49, 38.78, 285.55°)
OKLaboklab(64.59% 0.0014 -0.1048)
OKLCHoklch(64.59% 0.105 270.8)
XYZxyz(27.6968, 26.4833, 62.0329)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768ACE #CEBA76
analogous
#76B6CE #768ACE #8E76CE
triadic
#768ACE #CE768A #8ACE76
tetradic
#768ACE #CE76B6 #CEBA76 #76CE8E
square
#768ACE #CE76B6 #CEBA76 #76CE8E
split-complementary
#768ACE #CE8E76 #B6CE76
monochromatic
#354B94 #4964BE #768ACE #A3B0DE #D0D7EE

Accessibility & contrast

On white

3.33
#768ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#768ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768ACE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768ACE#FFFFFF#000000##000000
##768ACE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D1
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#5898A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768ace;
/* rgb */ color: rgb(118, 138, 206);
/* oklch */ color: oklch(64.6% 0.105 270.8);
Tailwind
colors: {
  custom: {
    50: '#a1abdd',
    500: '#768ace',
    950: '#000000',
  },
}
SCSS
$custom: #768ace;
$custom-light: #a1abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#768ace",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 206
  },
  "hsl": {
    "h": 226.364,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64586,
    "c": 0.10477,
    "h": 270.8
  },
  "luminance": 0.26485
}

Semantic roles & 50–950 ramp

primary
#768ACE
secondary
#DFD8C0
accent
#9A2BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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