#768CD3#768CD3

#768CD3 is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.3% C 0.109 H 270.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#768CD3
RGBrgb(118, 140, 211)
HSLhsl(226, 51%, 65%)
HSVhsv(226, 44%, 83%)
CMYKcmyk(44.1%, 33.6%, 0%, 17.3%)
CIE-LABlab(59.26, 10.67, -38.97)
CIE-LCHlch(59.26, 40.41, 285.31°)
OKLaboklab(65.25% 0.0001 -0.1094)
OKLCHoklch(65.25% 0.109 270.1)
XYZxyz(28.6035, 27.3093, 65.3794)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CD3 #D3BD76
analogous
#76BBD3 #768CD3 #8F76D3
triadic
#768CD3 #D3768C #8CD376
tetradic
#768CD3 #D376BB #D3BD76 #76D38F
square
#768CD3 #D376BB #D3BD76 #76D38F
split-complementary
#768CD3 #D38F76 #BBD376
monochromatic
#324B9C #4865C4 #768CD3 #A4B3E2 #D3DAF1

Accessibility & contrast

On white

3.25
#768CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#768CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CD3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CD3#FFFFFF#000000##000000
##768CD31.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D6
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#559BA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768cd3;
/* rgb */ color: rgb(118, 140, 211);
/* oklch */ color: oklch(65.3% 0.109 270.1);
Tailwind
colors: {
  custom: {
    50: '#a1ade1',
    500: '#768cd3',
    950: '#000000',
  },
}
SCSS
$custom: #768cd3;
$custom-light: #a1ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#768cd3",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 225.806,
    "s": 51.381,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65254,
    "c": 0.10941,
    "h": 270.1
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

primary
#768CD3
secondary
#E2DBC2
accent
#9B27BF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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