#768BDF#768BDF

#768BDF is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.128 H 271.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#768BDF
RGBrgb(118, 139, 223)
HSLhsl(228, 62%, 67%)
HSVhsv(228, 47%, 87%)
CMYKcmyk(47.1%, 37.7%, 0%, 12.5%)
CIE-LABlab(59.56, 14.79, -45.20)
CIE-LCHlch(59.56, 47.56, 288.12°)
OKLaboklab(65.68% 0.0042 -0.1275)
OKLCHoklch(65.68% 0.128 271.9)
XYZxyz(30.0189, 27.6427, 73.5515)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BDF #DFCA76
analogous
#76C0DF #768BDF #9676DF
triadic
#768BDF #DF768B #8BDF76
tetradic
#768BDF #DF76C0 #DFCA76 #76DF96
square
#768BDF #DF76C0 #DFCA76 #76DF96
split-complementary
#768BDF #DF9676 #C0DF76
monochromatic
#2945B1 #4461D3 #768BDF #A8B5EB #D9DFF6

Accessibility & contrast

On white

3.22
#768BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#768BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BDF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BDF#FFFFFF#000000##000000
##768BDF1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#618BDD
Tritanopia (blue-blind)
#4E9DAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #768bdf;
/* rgb */ color: rgb(118, 139, 223);
/* oklch */ color: oklch(65.7% 0.128 271.9);
Tailwind
colors: {
  custom: {
    50: '#a3ace9',
    500: '#768bdf',
    950: '#000000',
  },
}
SCSS
$custom: #768bdf;
$custom-light: #a3ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#768bdf",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 228,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65677,
    "c": 0.1276,
    "h": 271.9
  },
  "luminance": 0.27645
}

Semantic roles & 50–950 ramp

primary
#768BDF
secondary
#E9E2C8
accent
#A71CCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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