#768EC3#768EC3

#768EC3 is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.9% C 0.084 H 265.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#768EC3
RGBrgb(118, 142, 195)
HSLhsl(221, 39%, 61%)
HSVhsv(221, 39%, 76%)
CMYKcmyk(39.5%, 27.2%, 0%, 23.5%)
CIE-LABlab(59.10, 4.94, -30.22)
CIE-LCHlch(59.10, 30.62, 279.29°)
OKLaboklab(64.9% -0.0068 -0.0841)
OKLCHoklch(64.9% 0.084 265.4)
XYZxyz(26.9915, 27.1363, 55.4348)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EC3 #C3AB76
analogous
#76B5C3 #768EC3 #8576C3
triadic
#768EC3 #C3768E #8EC376
tetradic
#768EC3 #C376B5 #C3AB76 #76C385
square
#768EC3 #C376B5 #C3AB76 #76C385
split-complementary
#768EC3 #C38576 #B5C376
monochromatic
#3A5185 #4D6BAF #768EC3 #A1B1D6 #CBD4E8

Accessibility & contrast

On white

3.27
#768EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#768EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EC3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EC3#FFFFFF#000000##000000
##768EC31.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C5
Deuteranopia (green-blind)
#748BC2
Tritanopia (blue-blind)
#5D99A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768ec3;
/* rgb */ color: rgb(118, 142, 195);
/* oklch */ color: oklch(64.9% 0.084 265.4);
Tailwind
colors: {
  custom: {
    50: '#a0aed5',
    500: '#768ec3',
    950: '#000000',
  },
}
SCSS
$custom: #768ec3;
$custom-light: #a0aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#768ec3",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 221.299,
    "s": 39.086,
    "l": 61.373
  },
  "oklch": {
    "l": 0.649,
    "c": 0.08442,
    "h": 265.4
  },
  "luminance": 0.27138
}

Semantic roles & 50–950 ramp

primary
#768EC3
secondary
#D9D0BC
accent
#8B33B2
background
#FAFAFD
surface
#F3F4FA
border
#CDCED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #768EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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