#768CF3#768CF3

#768CF3 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.0% C 0.154 H 272.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#768CF3
RGBrgb(118, 140, 243)
HSLhsl(229, 84%, 71%)
HSVhsv(229, 51%, 95%)
CMYKcmyk(51.4%, 42.4%, 0%, 4.7%)
CIE-LABlab(60.85, 20.25, -54.25)
CIE-LCHlch(60.85, 57.91, 290.47°)
OKLaboklab(67% 0.0068 -0.154)
OKLCHoklch(67% 0.154 272.5)
XYZxyz(33.0218, 29.0766, 88.6489)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF3 #F3DD76
analogous
#76CAF3 #768CF3 #9E76F3
triadic
#768CF3 #F3768C #8CF376
tetradic
#768CF3 #F376CA #F3DD76 #76F39E
square
#768CF3 #F376CA #F3DD76 #76F39E
split-complementary
#768CF3 #F39E76 #CAF376
monochromatic
#1336DB #3E5DEE #768CF3 #AEBBF8 #E3E7FD

Accessibility & contrast

On white

3.08
#768CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#768CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF3#FFFFFF#000000##000000
##768CF31.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#3DA2B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768cf3;
/* rgb */ color: rgb(118, 140, 243);
/* oklch */ color: oklch(67.0% 0.154 272.5);
Tailwind
colors: {
  custom: {
    50: '#a5adf7',
    500: '#768cf3',
    950: '#000000',
  },
}
SCSS
$custom: #768cf3;
$custom-light: #a5adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf3",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 229.44,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66997,
    "c": 0.15414,
    "h": 272.5
  },
  "luminance": 0.29079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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