#768DF5#768DF5

#768DF5 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.156 H 272.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#768DF5
RGBrgb(118, 141, 245)
HSLhsl(229, 86%, 71%)
HSVhsv(229, 52%, 96%)
CMYKcmyk(51.8%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.21, 20.27, -54.78)
CIE-LCHlch(61.21, 58.41, 290.31°)
OKLaboklab(67.31% 0.006 -0.1555)
OKLCHoklch(67.31% 0.156 272.2)
XYZxyz(33.4722, 29.4916, 90.2971)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DF5 #F5DE76
analogous
#76CCF5 #768DF5 #9E76F5
triadic
#768DF5 #F5768D #8DF576
tetradic
#768DF5 #F576CC #F5DE76 #76F59E
square
#768DF5 #F576CC #F5DE76 #76F59E
split-complementary
#768DF5 #F59E76 #CCF576
monochromatic
#1036E0 #3D5EF1 #768DF5 #AFBCF9 #E2E7FD

Accessibility & contrast

On white

3.04
#768DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#768DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DF5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DF5#FFFFFF#000000##000000
##768DF51.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F9
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#3BA3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768df5;
/* rgb */ color: rgb(118, 141, 245);
/* oklch */ color: oklch(67.3% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#a5aef9',
    500: '#768df5',
    950: '#000000',
  },
}
SCSS
$custom: #768df5;
$custom-light: #a5aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#768df5",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 229.134,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6731,
    "c": 0.15564,
    "h": 272.2
  },
  "luminance": 0.29494
}

Semantic roles & 50–950 ramp

primary
#768DF5
secondary
#F4EED3
accent
#BA03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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