#768BD4#768BD4

#768BD4 is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.1% C 0.112 H 270.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#768BD4
RGBrgb(118, 139, 212)
HSLhsl(227, 52%, 65%)
HSVhsv(227, 44%, 83%)
CMYKcmyk(44.3%, 34.4%, 0%, 16.9%)
CIE-LABlab(59.04, 11.55, -39.88)
CIE-LCHlch(59.04, 41.52, 286.15°)
OKLaboklab(65.1% 0.0016 -0.112)
OKLCHoklch(65.1% 0.112 270.8)
XYZxyz(28.5838, 27.0687, 65.9932)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BD4 #D4BF76
analogous
#76BAD4 #768BD4 #9076D4
triadic
#768BD4 #D4768B #8BD476
tetradic
#768BD4 #D476BA #D4BF76 #76D490
square
#768BD4 #D476BA #D4BF76 #76D490
split-complementary
#768BD4 #D49076 #BAD476
monochromatic
#324A9E #4764C5 #768BD4 #A5B2E3 #D3DAF1

Accessibility & contrast

On white

3.27
#768BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#768BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BD4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BD4#FFFFFF#000000##000000
##768BD41.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7192D7
Deuteranopia (green-blind)
#688AD2
Tritanopia (blue-blind)
#559AA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #768bd4;
/* rgb */ color: rgb(118, 139, 212);
/* oklch */ color: oklch(65.1% 0.112 270.8);
Tailwind
colors: {
  custom: {
    50: '#a2ace1',
    500: '#768bd4',
    950: '#000000',
  },
}
SCSS
$custom: #768bd4;
$custom-light: #a2ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#768bd4",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 212
  },
  "hsl": {
    "h": 226.596,
    "s": 52.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.11206,
    "h": 270.8
  },
  "luminance": 0.2707
}

Semantic roles & 50–950 ramp

primary
#768BD4
secondary
#E3DCC3
accent
#9D26C0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #768BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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