#768CDF#768CDF

#768CDF is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.9% C 0.126 H 271.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#768CDF
RGBrgb(118, 140, 223)
HSLhsl(227, 62%, 67%)
HSVhsv(227, 47%, 87%)
CMYKcmyk(47.1%, 37.2%, 0%, 12.5%)
CIE-LABlab(59.83, 14.20, -44.78)
CIE-LCHlch(59.83, 46.98, 287.60°)
OKLaboklab(65.88% 0.003 -0.1263)
OKLCHoklch(65.88% 0.126 271.3)
XYZxyz(30.1644, 27.9337, 73.6000)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CDF #DFC976
analogous
#76C0DF #768CDF #9576DF
triadic
#768CDF #DF768C #8CDF76
tetradic
#768CDF #DF76C0 #DFC976 #76DF95
square
#768CDF #DF76C0 #DFC976 #76DF95
split-complementary
#768CDF #DF9576 #C0DF76
monochromatic
#2946B1 #4462D3 #768CDF #A8B6EB #D9DFF6

Accessibility & contrast

On white

3.19
#768CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#768CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CDF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CDF#FFFFFF#000000##000000
##768CDF1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E2
Deuteranopia (green-blind)
#638CDD
Tritanopia (blue-blind)
#4E9DAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768cdf;
/* rgb */ color: rgb(118, 140, 223);
/* oklch */ color: oklch(65.9% 0.126 271.3);
Tailwind
colors: {
  custom: {
    50: '#a3ade9',
    500: '#768cdf',
    950: '#000000',
  },
}
SCSS
$custom: #768cdf;
$custom-light: #a3ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#768cdf",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 227.429,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.12634,
    "h": 271.3
  },
  "luminance": 0.27935
}

Semantic roles & 50–950 ramp

primary
#768CDF
secondary
#E9E2C8
accent
#A51CCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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