#768BF5#768BF5

#768BF5 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.9% C 0.158 H 273.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#768BF5
RGBrgb(118, 139, 245)
HSLhsl(230, 86%, 71%)
HSVhsv(230, 52%, 96%)
CMYKcmyk(51.8%, 43.3%, 0%, 3.9%)
CIE-LABlab(60.70, 21.46, -55.59)
CIE-LCHlch(60.70, 59.59, 291.10°)
OKLaboklab(66.92% 0.0082 -0.1579)
OKLCHoklch(66.92% 0.158 273)
XYZxyz(33.1800, 28.9072, 90.1997)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF5 #F5E076
analogous
#76CAF5 #768BF5 #A076F5
triadic
#768BF5 #F5768B #8BF576
tetradic
#768BF5 #F576CA #F5E076 #76F5A0
square
#768BF5 #F576CA #F5E076 #76F5A0
split-complementary
#768BF5 #F5A076 #CAF576
monochromatic
#1033E0 #3D5BF1 #768BF5 #AFBBF9 #E2E7FD

Accessibility & contrast

On white

3.10
#768BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#768BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF5#FFFFFF#000000##000000
##768BF51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#3BA2B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768bf5;
/* rgb */ color: rgb(118, 139, 245);
/* oklch */ color: oklch(66.9% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#a5acf9',
    500: '#768bf5',
    950: '#000000',
  },
}
SCSS
$custom: #768bf5;
$custom-light: #a5acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf5",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 230.079,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66917,
    "c": 0.15814,
    "h": 273
  },
  "luminance": 0.28909
}

Semantic roles & 50–950 ramp

primary
#768BF5
secondary
#F4EFD3
accent
#BE03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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