#768DF2#768DF2

#768DF2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.1% C 0.152 H 272.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#768DF2
RGBrgb(118, 141, 242)
HSLhsl(229, 83%, 71%)
HSVhsv(229, 51%, 95%)
CMYKcmyk(51.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(61.05, 19.36, -53.38)
CIE-LCHlch(61.05, 56.78, 289.93°)
OKLaboklab(67.14% 0.0055 -0.1514)
OKLCHoklch(67.14% 0.152 272.1)
XYZxyz(33.0179, 29.3099, 87.9047)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DF2 #F2DB76
analogous
#76CBF2 #768DF2 #9D76F2
triadic
#768DF2 #F2768D #8DF276
tetradic
#768DF2 #F276CB #F2DB76 #76F29D
square
#768DF2 #F276CB #F2DB76 #76F29D
split-complementary
#768DF2 #F29D76 #CBF276
monochromatic
#1539D9 #3E5EED #768DF2 #AEBCF7 #E3E8FC

Accessibility & contrast

On white

3.06
#768DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#768DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DF2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DF2#FFFFFF#000000##000000
##768DF21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#3EA3B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768df2;
/* rgb */ color: rgb(118, 141, 242);
/* oklch */ color: oklch(67.1% 0.152 272.1);
Tailwind
colors: {
  custom: {
    50: '#a5aef7',
    500: '#768df2',
    950: '#000000',
  },
}
SCSS
$custom: #768df2;
$custom-light: #a5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#768df2",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 228.871,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67136,
    "c": 0.15151,
    "h": 272.1
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#768DF2
secondary
#F3ECD1
accent
#B706DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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