#768CC5#768CC5

#768CC5 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.6% C 0.090 H 267.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#768CC5
RGBrgb(118, 140, 197)
HSLhsl(223, 41%, 62%)
HSVhsv(223, 40%, 77%)
CMYKcmyk(40.1%, 28.9%, 0%, 22.7%)
CIE-LABlab(58.64, 6.66, -32.06)
CIE-LCHlch(58.64, 32.75, 281.74°)
OKLaboklab(64.57% -0.0036 -0.0894)
OKLCHoklch(64.57% 0.09 267.7)
XYZxyz(26.9242, 26.6376, 56.5354)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CC5 #C5AF76
analogous
#76B4C5 #768CC5 #8876C5
triadic
#768CC5 #C5768C #8CC576
tetradic
#768CC5 #C576B4 #C5AF76 #76C588
square
#768CC5 #C576B4 #C5AF76 #76C588
split-complementary
#768CC5 #C58876 #B4C576
monochromatic
#394F87 #4B68B2 #768CC5 #A1B0D7 #CCD4E9

Accessibility & contrast

On white

3.32
#768CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#768CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CC5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CC5#FFFFFF#000000##000000
##768CC51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891C7
Deuteranopia (green-blind)
#718AC4
Tritanopia (blue-blind)
#5C98A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768cc5;
/* rgb */ color: rgb(118, 140, 197);
/* oklch */ color: oklch(64.6% 0.090 267.7);
Tailwind
colors: {
  custom: {
    50: '#a0add6',
    500: '#768cc5',
    950: '#000000',
  },
}
SCSS
$custom: #768cc5;
$custom-light: #a0add6;
$custom-dark: #000000;
JSON
{
  "hex": "#768cc5",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 197
  },
  "hsl": {
    "h": 223.291,
    "s": 40.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64567,
    "c": 0.08952,
    "h": 267.7
  },
  "luminance": 0.26639
}

Semantic roles & 50–950 ramp

primary
#768CC5
secondary
#DAD2BD
accent
#8F32B4
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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