#768BF9#768BF9

#768BF9 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.2% C 0.164 H 273.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#768BF9
RGBrgb(118, 139, 249)
HSLhsl(230, 92%, 72%)
HSVhsv(230, 53%, 98%)
CMYKcmyk(52.6%, 44.2%, 0%, 2.4%)
CIE-LABlab(60.92, 22.69, -57.45)
CIE-LCHlch(60.92, 61.77, 291.55°)
OKLaboklab(67.15% 0.0089 -0.1634)
OKLCHoklch(67.15% 0.164 273.1)
XYZxyz(33.7972, 29.1541, 93.4505)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF9 #F9E476
analogous
#76CCF9 #768BF9 #A376F9
triadic
#768BF9 #F9768B #8BF976
tetradic
#768BF9 #F976CC #F9E476 #76F9A3
square
#768BF9 #F976CC #F9E476 #76F9A3
split-complementary
#768BF9 #F9A376 #CCF976
monochromatic
#0A2EEA #3B59F6 #768BF9 #B1BDFC #E2E6FE

Accessibility & contrast

On white

3.07
#768BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#768BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF9#FFFFFF#000000##000000
##768BF91.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#37A3B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768bf9;
/* rgb */ color: rgb(118, 139, 249);
/* oklch */ color: oklch(67.2% 0.164 273.1);
Tailwind
colors: {
  custom: {
    50: '#a6acfc',
    500: '#768bf9',
    950: '#000000',
  },
}
SCSS
$custom: #768bf9;
$custom-light: #a6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf9",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 230.382,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.16361,
    "h": 273.1
  },
  "luminance": 0.29156
}

Semantic roles & 50–950 ramp

primary
#768BF9
secondary
#F6F1D5
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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