#768DF3#768DF3

#768DF3 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.153 H 272.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#768DF3
RGBrgb(118, 141, 243)
HSLhsl(229, 84%, 71%)
HSVhsv(229, 51%, 95%)
CMYKcmyk(51.4%, 42%, 0%, 4.7%)
CIE-LABlab(61.11, 19.66, -53.84)
CIE-LCHlch(61.11, 57.32, 290.06°)
OKLaboklab(67.19% 0.0057 -0.1528)
OKLCHoklch(67.19% 0.153 272.1)
XYZxyz(33.1685, 29.3702, 88.6979)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DF3 #F3DC76
analogous
#76CBF3 #768DF3 #9D76F3
triadic
#768DF3 #F3768D #8DF376
tetradic
#768DF3 #F376CB #F3DC76 #76F39D
square
#768DF3 #F376CB #F3DC76 #76F39D
split-complementary
#768DF3 #F39D76 #CBF376
monochromatic
#1338DB #3E5EEE #768DF3 #AEBCF8 #E3E8FD

Accessibility & contrast

On white

3.05
#768DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#768DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DF3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DF3#FFFFFF#000000##000000
##768DF31.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#558EF1
Tritanopia (blue-blind)
#3DA3B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768df3;
/* rgb */ color: rgb(118, 141, 243);
/* oklch */ color: oklch(67.2% 0.153 272.1);
Tailwind
colors: {
  custom: {
    50: '#a5aef7',
    500: '#768df3',
    950: '#000000',
  },
}
SCSS
$custom: #768df3;
$custom-light: #a5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#768df3",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 228.96,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67194,
    "c": 0.15289,
    "h": 272.1
  },
  "luminance": 0.29372
}

Semantic roles & 50–950 ramp

primary
#768DF3
secondary
#F3EDD2
accent
#B805E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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