#768BCA#768BCA

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

Color values

HEX#768BCA
RGBrgb(118, 139, 202)
HSLhsl(225, 44%, 63%)
HSVhsv(225, 42%, 79%)
CMYKcmyk(41.6%, 31.2%, 0%, 20.8%)
CIE-LABlab(58.58, 8.66, -34.97)
CIE-LCHlch(58.58, 36.03, 283.91°)
OKLaboklab(64.6% -0.0009 -0.0978)
OKLCHoklch(64.6% 0.098 269.5)
XYZxyz(27.3612, 26.5797, 59.5543)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BCA #CAB576
analogous
#76B5CA #768BCA #8B76CA
triadic
#768BCA #CA768B #8BCA76
tetradic
#768BCA #CA76B5 #CAB576 #76CA8B
square
#768BCA #CA76B5 #CAB576 #76CA8B
split-complementary
#768BCA #CA8B76 #B5CA76
monochromatic
#374D8E #4A66B9 #768BCA #A2B0DB #CED6EC

Accessibility & contrast

On white

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

On black

6.32
#768BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BCA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BCA#FFFFFF#000000##000000
##768BCA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#6D8AC9
Tritanopia (blue-blind)
#5A98A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #768bca;
/* rgb */ color: rgb(118, 139, 202);
/* oklch */ color: oklch(64.6% 0.098 269.5);
Tailwind
colors: {
  custom: {
    50: '#a1acda',
    500: '#768bca',
    950: '#000000',
  },
}
SCSS
$custom: #768bca;
$custom-light: #a1acda;
$custom-dark: #000000;
JSON
{
  "hex": "#768bca",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 225,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64597,
    "c": 0.09783,
    "h": 269.5
  },
  "luminance": 0.26581
}

Semantic roles & 50–950 ramp

primary
#768BCA
secondary
#DDD5BF
accent
#952EB7
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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