#768AF9#768AF9

#768AF9 is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.0% C 0.165 H 273.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#768AF9
RGBrgb(118, 138, 249)
HSLhsl(231, 92%, 72%)
HSVhsv(231, 53%, 98%)
CMYKcmyk(52.6%, 44.6%, 0%, 2.4%)
CIE-LABlab(60.66, 23.28, -57.86)
CIE-LCHlch(60.66, 62.36, 291.92°)
OKLaboklab(66.96% 0.0099 -0.1646)
OKLCHoklch(66.96% 0.165 273.5)
XYZxyz(33.6531, 28.8658, 93.4025)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AF9 #F9E576
analogous
#76CBF9 #768AF9 #A476F9
triadic
#768AF9 #F9768A #8AF976
tetradic
#768AF9 #F976CB #F9E576 #76F9A4
square
#768AF9 #F976CB #F9E576 #76F9A4
split-complementary
#768AF9 #F9A476 #CBF976
monochromatic
#0A2CEA #3B58F6 #768AF9 #B1BCFC #E2E6FE

Accessibility & contrast

On white

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

On black

6.77
#768AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AF9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AF9#FFFFFF#000000##000000
##768AF91.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#37A2B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768af9;
/* rgb */ color: rgb(118, 138, 249);
/* oklch */ color: oklch(67.0% 0.165 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6abfc',
    500: '#768af9',
    950: '#000000',
  },
}
SCSS
$custom: #768af9;
$custom-light: #a6abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#768af9",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 230.84,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.16487,
    "h": 273.5
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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