#768ECF#768ECF

#768ECF is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.5% C 0.101 H 268.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#768ECF
RGBrgb(118, 142, 207)
HSLhsl(224, 48%, 64%)
HSVhsv(224, 43%, 81%)
CMYKcmyk(43%, 31.4%, 0%, 18.8%)
CIE-LABlab(59.62, 8.34, -36.17)
CIE-LCHlch(59.62, 37.12, 282.99°)
OKLaboklab(65.47% -0.0034 -0.1013)
OKLCHoklch(65.47% 0.101 268.1)
XYZxyz(28.4032, 27.7010, 62.8696)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768ECF #CFB776
analogous
#76BACF #768ECF #8A76CF
triadic
#768ECF #CF768E #8ECF76
tetradic
#768ECF #CF76BA #CFB776 #76CF8A
square
#768ECF #CF76BA #CFB776 #76CF8A
split-complementary
#768ECF #CF8A76 #BACF76
monochromatic
#354F96 #4969BF #768ECF #A3B3DF #D1D9EF

Accessibility & contrast

On white

3.21
#768ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#768ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768ECF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768ECF#FFFFFF#000000##000000
##768ECF1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#6E8CCE
Tritanopia (blue-blind)
#579BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768ecf;
/* rgb */ color: rgb(118, 142, 207);
/* oklch */ color: oklch(65.5% 0.101 268.1);
Tailwind
colors: {
  custom: {
    50: '#a1aede',
    500: '#768ecf',
    950: '#000000',
  },
}
SCSS
$custom: #768ecf;
$custom-light: #a1aede;
$custom-dark: #000000;
JSON
{
  "hex": "#768ecf",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 223.82,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65472,
    "c": 0.10134,
    "h": 268.1
  },
  "luminance": 0.27703
}

Semantic roles & 50–950 ramp

primary
#768ECF
secondary
#E0D8C1
accent
#942ABB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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