#768FDB#768FDB

#768FDB is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.3% C 0.117 H 269.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#768FDB
RGBrgb(118, 143, 219)
HSLhsl(225, 58%, 66%)
HSVhsv(225, 46%, 86%)
CMYKcmyk(46.1%, 34.7%, 0%, 14.1%)
CIE-LABlab(60.44, 11.26, -41.60)
CIE-LCHlch(60.44, 43.10, 285.14°)
OKLaboklab(66.29% -0.0016 -0.117)
OKLCHoklch(66.29% 0.117 269.2)
XYZxyz(30.0758, 28.6092, 70.9414)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FDB #DBC276
analogous
#76C1DB #768FDB #8F76DB
triadic
#768FDB #DB768F #8FDB76
tetradic
#768FDB #DB76C1 #DBC276 #76DB8F
square
#768FDB #DB76C1 #DBC276 #76DB8F
split-complementary
#768FDB #DB8F76 #C1DB76
monochromatic
#2D4CAA #4667CE #768FDB #A6B7E8 #D7DEF4

Accessibility & contrast

On white

3.12
#768FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#768FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FDB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FDB#FFFFFF#000000##000000
##768FDB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DE
Deuteranopia (green-blind)
#698ED9
Tritanopia (blue-blind)
#509FAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768fdb;
/* rgb */ color: rgb(118, 143, 219);
/* oklch */ color: oklch(66.3% 0.117 269.2);
Tailwind
colors: {
  custom: {
    50: '#a2afe6',
    500: '#768fdb',
    950: '#000000',
  },
}
SCSS
$custom: #768fdb;
$custom-light: #a2afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#768fdb",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 225.149,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.11704,
    "h": 269.2
  },
  "luminance": 0.28611
}

Semantic roles & 50–950 ramp

primary
#768FDB
secondary
#E7DFC6
accent
#9D20C6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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