#768DF4#768DF4

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

Color values

HEX#768DF4
RGBrgb(118, 141, 244)
HSLhsl(229, 85%, 71%)
HSVhsv(229, 52%, 96%)
CMYKcmyk(51.6%, 42.2%, 0%, 4.3%)
CIE-LABlab(61.16, 19.97, -54.31)
CIE-LCHlch(61.16, 57.87, 290.19°)
OKLaboklab(67.25% 0.0059 -0.1541)
OKLCHoklch(67.25% 0.154 272.2)
XYZxyz(33.3200, 29.4307, 89.4953)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DF4 #F4DD76
analogous
#76CCF4 #768DF4 #9E76F4
triadic
#768DF4 #F4768D #8DF476
tetradic
#768DF4 #F476CC #F4DD76 #76F49E
square
#768DF4 #F476CC #F4DD76 #76F49E
split-complementary
#768DF4 #F49E76 #CCF476
monochromatic
#1237DE #3D5EEF #768DF4 #AFBCF9 #E3E7FD

Accessibility & contrast

On white

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

On black

6.89
#768DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DF4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DF4#FFFFFF#000000##000000
##768DF41.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F8
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#3CA3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768df4;
/* rgb */ color: rgb(118, 141, 244);
/* oklch */ color: oklch(67.3% 0.154 272.2);
Tailwind
colors: {
  custom: {
    50: '#a5aef8',
    500: '#768df4',
    950: '#000000',
  },
}
SCSS
$custom: #768df4;
$custom-light: #a5aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#768df4",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 229.048,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67252,
    "c": 0.15426,
    "h": 272.2
  },
  "luminance": 0.29433
}

Semantic roles & 50–950 ramp

primary
#768DF4
secondary
#F4EED2
accent
#B904E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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