#768BCC#768BCC

#768BCC is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.7% C 0.101 H 269.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#768BCC
RGBrgb(118, 139, 204)
HSLhsl(225, 46%, 63%)
HSVhsv(225, 42%, 80%)
CMYKcmyk(42.2%, 31.9%, 0%, 20%)
CIE-LABlab(58.67, 9.24, -35.96)
CIE-LCHlch(58.67, 37.12, 284.40°)
OKLaboklab(64.7% -0.0004 -0.1007)
OKLCHoklch(64.7% 0.101 269.8)
XYZxyz(27.5995, 26.6750, 60.8096)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BCC #CCB776
analogous
#76B6CC #768BCC #8C76CC
triadic
#768BCC #CC768B #8BCC76
tetradic
#768BCC #CC76B6 #CCB776 #76CC8C
square
#768BCC #CC76B6 #CCB776 #76CC8C
split-complementary
#768BCC #CC8C76 #B6CC76
monochromatic
#364C91 #4965BB #768BCC #A3B1DD #CFD7ED

Accessibility & contrast

On white

3.31
#768BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#768BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BCC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BCC#FFFFFF#000000##000000
##768BCC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CF
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#5998A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768bcc;
/* rgb */ color: rgb(118, 139, 204);
/* oklch */ color: oklch(64.7% 0.101 269.8);
Tailwind
colors: {
  custom: {
    50: '#a1acdc',
    500: '#768bcc',
    950: '#000000',
  },
}
SCSS
$custom: #768bcc;
$custom-light: #a1acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#768bcc",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 204
  },
  "hsl": {
    "h": 225.349,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64695,
    "c": 0.10068,
    "h": 269.8
  },
  "luminance": 0.26676
}

Semantic roles & 50–950 ramp

primary
#768BCC
secondary
#DED7BF
accent
#972DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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