#768BF3#768BF3

#768BF3 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.8% C 0.155 H 272.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#768BF3
RGBrgb(118, 139, 243)
HSLhsl(230, 84%, 71%)
HSVhsv(230, 51%, 95%)
CMYKcmyk(51.4%, 42.8%, 0%, 4.7%)
CIE-LABlab(60.59, 20.84, -54.66)
CIE-LCHlch(60.59, 58.50, 290.87°)
OKLaboklab(66.8% 0.0079 -0.1552)
OKLCHoklch(66.8% 0.155 272.9)
XYZxyz(32.8763, 28.7857, 88.6004)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF3 #F3DE76
analogous
#76C9F3 #768BF3 #9F76F3
triadic
#768BF3 #F3768B #8BF376
tetradic
#768BF3 #F376C9 #F3DE76 #76F39F
square
#768BF3 #F376C9 #F3DE76 #76F39F
split-complementary
#768BF3 #F39F76 #C9F376
monochromatic
#1335DB #3E5BEE #768BF3 #AEBBF8 #E3E7FD

Accessibility & contrast

On white

3.11
#768BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#768BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF3#FFFFFF#000000##000000
##768BF31.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#528DF1
Tritanopia (blue-blind)
#3DA1B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768bf3;
/* rgb */ color: rgb(118, 139, 243);
/* oklch */ color: oklch(66.8% 0.155 272.9);
Tailwind
colors: {
  custom: {
    50: '#a5acf7',
    500: '#768bf3',
    950: '#000000',
  },
}
SCSS
$custom: #768bf3;
$custom-light: #a5acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf3",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 229.92,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.668,
    "c": 0.1554,
    "h": 272.9
  },
  "luminance": 0.28788
}

Semantic roles & 50–950 ramp

primary
#768BF3
secondary
#F3EED2
accent
#BC05E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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