#768ECB#768ECB

#768ECB is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.3% C 0.096 H 267.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#768ECB
RGBrgb(118, 142, 203)
HSLhsl(223, 45%, 63%)
HSVhsv(223, 42%, 80%)
CMYKcmyk(41.9%, 30%, 0%, 20.4%)
CIE-LABlab(59.44, 7.20, -34.19)
CIE-LCHlch(59.44, 34.94, 281.89°)
OKLaboklab(65.28% -0.0045 -0.0956)
OKLCHoklch(65.28% 0.096 267.3)
XYZxyz(27.9203, 27.5079, 60.3267)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768ECB #CBB376
analogous
#76B8CB #768ECB #8876CB
triadic
#768ECB #CB768E #8ECB76
tetradic
#768ECB #CB76B8 #CBB376 #76CB88
square
#768ECB #CB76B8 #CBB376 #76CB88
split-complementary
#768ECB #CB8876 #B8CB76
monochromatic
#375090 #4A69BA #768ECB #A2B3DC #CFD7ED

Accessibility & contrast

On white

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

On black

6.50
#768ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768ECB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768ECB#FFFFFF#000000##000000
##768ECB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#599BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768ecb;
/* rgb */ color: rgb(118, 142, 203);
/* oklch */ color: oklch(65.3% 0.096 267.3);
Tailwind
colors: {
  custom: {
    50: '#a1aedb',
    500: '#768ecb',
    950: '#000000',
  },
}
SCSS
$custom: #768ecb;
$custom-light: #a1aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#768ecb",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 223.059,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65278,
    "c": 0.0957,
    "h": 267.3
  },
  "luminance": 0.27509
}

Semantic roles & 50–950 ramp

primary
#768ECB
secondary
#DED5BF
accent
#912DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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