#768BCE#768BCE

#768BCE is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.8% C 0.104 H 270.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#768BCE
RGBrgb(118, 139, 206)
HSLhsl(226, 47%, 64%)
HSVhsv(226, 43%, 81%)
CMYKcmyk(42.7%, 32.5%, 0%, 19.2%)
CIE-LABlab(58.76, 9.81, -36.94)
CIE-LCHlch(58.76, 38.22, 284.87°)
OKLaboklab(64.79% 0.0001 -0.1035)
OKLCHoklch(64.79% 0.104 270.1)
XYZxyz(27.8410, 26.7716, 62.0810)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BCE #CEB976
analogous
#76B7CE #768BCE #8D76CE
triadic
#768BCE #CE768B #8BCE76
tetradic
#768BCE #CE76B7 #CEB976 #76CE8D
square
#768BCE #CE76B7 #CEB976 #76CE8D
split-complementary
#768BCE #CE8D76 #B7CE76
monochromatic
#354C94 #4965BE #768BCE #A3B1DE #D0D7EE

Accessibility & contrast

On white

3.30
#768BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#768BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BCE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BCE#FFFFFF#000000##000000
##768BCE1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D1
Deuteranopia (green-blind)
#6B8ACC
Tritanopia (blue-blind)
#5899A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768bce;
/* rgb */ color: rgb(118, 139, 206);
/* oklch */ color: oklch(64.8% 0.104 270.1);
Tailwind
colors: {
  custom: {
    50: '#a1acdd',
    500: '#768bce',
    950: '#000000',
  },
}
SCSS
$custom: #768bce;
$custom-light: #a1acdd;
$custom-dark: #000000;
JSON
{
  "hex": "#768bce",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 206
  },
  "hsl": {
    "h": 225.682,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.10353,
    "h": 270.1
  },
  "luminance": 0.26773
}

Semantic roles & 50–950 ramp

primary
#768BCE
secondary
#DFD8C0
accent
#982BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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