#768ECA#768ECA

#768ECA is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.2% C 0.094 H 267.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#768ECA
RGBrgb(118, 142, 202)
HSLhsl(223, 44%, 63%)
HSVhsv(223, 42%, 79%)
CMYKcmyk(41.6%, 29.7%, 0%, 20.8%)
CIE-LABlab(59.40, 6.91, -33.70)
CIE-LCHlch(59.40, 34.40, 281.59°)
OKLaboklab(65.23% -0.0048 -0.0942)
OKLCHoklch(65.23% 0.094 267.1)
XYZxyz(27.8016, 27.4604, 59.7011)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768ECA #CAB276
analogous
#76B8CA #768ECA #8876CA
triadic
#768ECA #CA768E #8ECA76
tetradic
#768ECA #CA76B8 #CAB276 #76CA88
square
#768ECA #CA76B8 #CAB276 #76CA88
split-complementary
#768ECA #CA8876 #B8CA76
monochromatic
#37508E #4A6AB9 #768ECA #A2B2DB #CED7EC

Accessibility & contrast

On white

3.23
#768ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#768ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768ECA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768ECA#FFFFFF#000000##000000
##768ECA1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#5A9AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768eca;
/* rgb */ color: rgb(118, 142, 202);
/* oklch */ color: oklch(65.2% 0.094 267.1);
Tailwind
colors: {
  custom: {
    50: '#a1aeda',
    500: '#768eca',
    950: '#000000',
  },
}
SCSS
$custom: #768eca;
$custom-light: #a1aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#768eca",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 222.857,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6523,
    "c": 0.09428,
    "h": 267.1
  },
  "luminance": 0.27462
}

Semantic roles & 50–950 ramp

primary
#768ECA
secondary
#DDD4BF
accent
#902EB7
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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