#768FD2#768FD2

#768FD2 is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.8% C 0.104 H 267.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#768FD2
RGBrgb(118, 143, 210)
HSLhsl(224, 51%, 64%)
HSVhsv(224, 44%, 82%)
CMYKcmyk(43.8%, 31.9%, 0%, 17.6%)
CIE-LABlab(60.02, 8.63, -37.22)
CIE-LCHlch(60.02, 38.20, 283.05°)
OKLaboklab(65.83% -0.0039 -0.1043)
OKLCHoklch(65.83% 0.104 267.9)
XYZxyz(28.9229, 28.1480, 64.8694)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FD2 #D2B976
analogous
#76BDD2 #768FD2 #8B76D2
triadic
#768FD2 #D2768F #8FD276
tetradic
#768FD2 #D276BD #D2B976 #76D28B
square
#768FD2 #D276BD #D2B976 #76D28B
split-complementary
#768FD2 #D28B76 #BDD276
monochromatic
#334F9B #4869C3 #768FD2 #A4B5E1 #D2DAF0

Accessibility & contrast

On white

3.17
#768FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#768FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FD2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FD2#FFFFFF#000000##000000
##768FD21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#6E8DD0
Tritanopia (blue-blind)
#559DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768fd2;
/* rgb */ color: rgb(118, 143, 210);
/* oklch */ color: oklch(65.8% 0.104 267.9);
Tailwind
colors: {
  custom: {
    50: '#a1afe0',
    500: '#768fd2',
    950: '#000000',
  },
}
SCSS
$custom: #768fd2;
$custom-light: #a1afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#768fd2",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 223.696,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.10439,
    "h": 267.9
  },
  "luminance": 0.2815
}

Semantic roles & 50–950 ramp

primary
#768FD2
secondary
#E2D9C2
accent
#9528BE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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