#768BC5#768BC5

#768BC5 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.4% C 0.091 H 268.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#768BC5
RGBrgb(118, 139, 197)
HSLhsl(224, 41%, 62%)
HSVhsv(224, 40%, 77%)
CMYKcmyk(40.1%, 29.4%, 0%, 22.7%)
CIE-LABlab(58.36, 7.25, -32.49)
CIE-LCHlch(58.36, 33.29, 282.57°)
OKLaboklab(64.35% -0.0023 -0.0907)
OKLCHoklch(64.35% 0.091 268.5)
XYZxyz(26.7788, 26.3467, 56.4869)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BC5 #C5B076
analogous
#76B3C5 #768BC5 #8976C5
triadic
#768BC5 #C5768B #8BC576
tetradic
#768BC5 #C576B3 #C5B076 #76C589
square
#768BC5 #C576B3 #C5B076 #76C589
split-complementary
#768BC5 #C58976 #B3C576
monochromatic
#394E87 #4B67B2 #768BC5 #A1AFD7 #CCD4E9

Accessibility & contrast

On white

3.35
#768BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#768BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BC5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BC5#FFFFFF#000000##000000
##768BC51.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7790C7
Deuteranopia (green-blind)
#7089C4
Tritanopia (blue-blind)
#5C979F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #768bc5;
/* rgb */ color: rgb(118, 139, 197);
/* oklch */ color: oklch(64.4% 0.091 268.5);
Tailwind
colors: {
  custom: {
    50: '#a0acd6',
    500: '#768bc5',
    950: '#000000',
  },
}
SCSS
$custom: #768bc5;
$custom-light: #a0acd6;
$custom-dark: #000000;
JSON
{
  "hex": "#768bc5",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 197
  },
  "hsl": {
    "h": 224.051,
    "s": 40.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.09071,
    "h": 268.5
  },
  "luminance": 0.26348
}

Semantic roles & 50–950 ramp

primary
#768BC5
secondary
#DAD2BD
accent
#9132B4
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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