#768BD2#768BD2

#768BD2 is a light, moderate blue. Relative luminance 0.270; OKLCH L 65.0% C 0.109 H 270.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#768BD2
RGBrgb(118, 139, 210)
HSLhsl(226, 51%, 64%)
HSVhsv(226, 44%, 82%)
CMYKcmyk(43.8%, 33.8%, 0%, 17.6%)
CIE-LABlab(58.95, 10.97, -38.90)
CIE-LCHlch(58.95, 40.42, 285.74°)
OKLaboklab(65% 0.0012 -0.1092)
OKLCHoklch(65% 0.109 270.6)
XYZxyz(28.3331, 26.9684, 64.6728)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BD2 #D2BD76
analogous
#76B9D2 #768BD2 #8F76D2
triadic
#768BD2 #D2768B #8BD276
tetradic
#768BD2 #D276B9 #D2BD76 #76D28F
square
#768BD2 #D276B9 #D2BD76 #76D28F
split-complementary
#768BD2 #D28F76 #B9D276
monochromatic
#334B9B #4864C3 #768BD2 #A4B2E1 #D2D9F0

Accessibility & contrast

On white

3.28
#768BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#768BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BD2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BD2#FFFFFF#000000##000000
##768BD21.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7292D5
Deuteranopia (green-blind)
#698AD0
Tritanopia (blue-blind)
#569AA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768bd2;
/* rgb */ color: rgb(118, 139, 210);
/* oklch */ color: oklch(65.0% 0.109 270.6);
Tailwind
colors: {
  custom: {
    50: '#a1ace0',
    500: '#768bd2',
    950: '#000000',
  },
}
SCSS
$custom: #768bd2;
$custom-light: #a1ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#768bd2",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 226.304,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64996,
    "c": 0.10923,
    "h": 270.6
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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