#768EF5#768EF5

#768EF5 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.154 H 271.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#768EF5
RGBrgb(118, 142, 245)
HSLhsl(229, 86%, 71%)
HSVhsv(229, 52%, 96%)
CMYKcmyk(51.8%, 42%, 0%, 3.9%)
CIE-LABlab(61.47, 19.68, -54.37)
CIE-LCHlch(61.47, 57.82, 289.90°)
OKLaboklab(67.51% 0.0049 -0.1543)
OKLCHoklch(67.51% 0.154 271.8)
XYZxyz(33.6203, 29.7879, 90.3465)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF5 #F5DD76
analogous
#76CEF5 #768EF5 #9D76F5
triadic
#768EF5 #F5768E #8EF576
tetradic
#768EF5 #F576CE #F5DD76 #76F59D
square
#768EF5 #F576CE #F5DD76 #76F59D
split-complementary
#768EF5 #F59D76 #CEF576
monochromatic
#1038E0 #3D5FF1 #768EF5 #AFBDF9 #E2E7FD

Accessibility & contrast

On white

3.02
#768EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#768EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF5#FFFFFF#000000##000000
##768EF51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#3BA4B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768ef5;
/* rgb */ color: rgb(118, 142, 245);
/* oklch */ color: oklch(67.5% 0.154 271.8);
Tailwind
colors: {
  custom: {
    50: '#a5aef9',
    500: '#768ef5',
    950: '#000000',
  },
}
SCSS
$custom: #768ef5;
$custom-light: #a5aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef5",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 228.661,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67507,
    "c": 0.15439,
    "h": 271.8
  },
  "luminance": 0.2979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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