#768DC5#768DC5

#768DC5 is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.8% C 0.088 H 266.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#768DC5
RGBrgb(118, 141, 197)
HSLhsl(223, 41%, 62%)
HSVhsv(223, 40%, 77%)
CMYKcmyk(40.1%, 28.4%, 0%, 22.7%)
CIE-LABlab(58.91, 6.08, -31.64)
CIE-LCHlch(58.91, 32.22, 280.88°)
OKLaboklab(64.78% -0.0049 -0.0882)
OKLCHoklch(64.78% 0.088 266.8)
XYZxyz(27.0710, 26.9312, 56.5843)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DC5 #C5AE76
analogous
#76B5C5 #768DC5 #8776C5
triadic
#768DC5 #C5768D #8DC576
tetradic
#768DC5 #C576B5 #C5AE76 #76C587
square
#768DC5 #C576B5 #C5AE76 #76C587
split-complementary
#768DC5 #C58776 #B5C576
monochromatic
#395087 #4B69B2 #768DC5 #A1B1D7 #CCD5E9

Accessibility & contrast

On white

3.29
#768DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#768DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DC5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DC5#FFFFFF#000000##000000
##768DC51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C7
Deuteranopia (green-blind)
#728BC4
Tritanopia (blue-blind)
#5C98A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768dc5;
/* rgb */ color: rgb(118, 141, 197);
/* oklch */ color: oklch(64.8% 0.088 266.8);
Tailwind
colors: {
  custom: {
    50: '#a0aed6',
    500: '#768dc5',
    950: '#000000',
  },
}
SCSS
$custom: #768dc5;
$custom-light: #a0aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#768dc5",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 197
  },
  "hsl": {
    "h": 222.532,
    "s": 40.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.08837,
    "h": 266.8
  },
  "luminance": 0.26933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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