#768FF4#768FF4

#768FF4 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.6% C 0.152 H 271.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#768FF4
RGBrgb(118, 143, 244)
HSLhsl(228, 85%, 71%)
HSVhsv(228, 52%, 96%)
CMYKcmyk(51.6%, 41.4%, 0%, 4.3%)
CIE-LABlab(61.68, 18.79, -53.49)
CIE-LCHlch(61.68, 56.69, 289.35°)
OKLaboklab(67.65% 0.0036 -0.1517)
OKLCHoklch(67.65% 0.152 271.4)
XYZxyz(33.6175, 30.0259, 89.5945)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF4 #F4DB76
analogous
#76CEF4 #768FF4 #9C76F4
triadic
#768FF4 #F4768F #8FF476
tetradic
#768FF4 #F476CE #F4DB76 #76F49C
square
#768FF4 #F476CE #F4DB76 #76F49C
split-complementary
#768FF4 #F49C76 #CEF476
monochromatic
#123ADE #3D61EF #768FF4 #AFBDF9 #E3E8FD

Accessibility & contrast

On white

3.00
#768FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#768FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FF4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF4#FFFFFF#000000##000000
##768FF41.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF8
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#3CA5B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ff4;
/* rgb */ color: rgb(118, 143, 244);
/* oklch */ color: oklch(67.6% 0.152 271.4);
Tailwind
colors: {
  custom: {
    50: '#a5aff8',
    500: '#768ff4',
    950: '#000000',
  },
}
SCSS
$custom: #768ff4;
$custom-light: #a5aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff4",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 228.095,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67647,
    "c": 0.15177,
    "h": 271.4
  },
  "luminance": 0.30028
}

Semantic roles & 50–950 ramp

primary
#768FF4
secondary
#F4EDD2
accent
#B604E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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