#768AF3#768AF3

#768AF3 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.6% C 0.157 H 273.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#768AF3
RGBrgb(118, 138, 243)
HSLhsl(230, 84%, 71%)
HSVhsv(230, 51%, 95%)
CMYKcmyk(51.4%, 43.2%, 0%, 4.7%)
CIE-LABlab(60.34, 21.44, -55.07)
CIE-LCHlch(60.34, 59.10, 291.27°)
OKLaboklab(66.6% 0.009 -0.1564)
OKLCHoklch(66.6% 0.157 273.3)
XYZxyz(32.7322, 28.4974, 88.5524)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AF3 #F3DF76
analogous
#76C8F3 #768AF3 #A076F3
triadic
#768AF3 #F3768A #8AF376
tetradic
#768AF3 #F376C8 #F3DF76 #76F3A0
square
#768AF3 #F376C8 #F3DF76 #76F3A0
split-complementary
#768AF3 #F3A076 #C8F376
monochromatic
#1333DB #3E5AEE #768AF3 #AEBAF8 #E3E7FD

Accessibility & contrast

On white

3.13
#768AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#768AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AF3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AF3#FFFFFF#000000##000000
##768AF31.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#508CF1
Tritanopia (blue-blind)
#3EA1B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768af3;
/* rgb */ color: rgb(118, 138, 243);
/* oklch */ color: oklch(66.6% 0.157 273.3);
Tailwind
colors: {
  custom: {
    50: '#a5abf7',
    500: '#768af3',
    950: '#000000',
  },
}
SCSS
$custom: #768af3;
$custom-light: #a5abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#768af3",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 230.4,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66604,
    "c": 0.15667,
    "h": 273.3
  },
  "luminance": 0.285
}

Semantic roles & 50–950 ramp

primary
#768AF3
secondary
#F3EED2
accent
#BD05E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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