#768FEA#768FEA

#768FEA is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.1% C 0.138 H 270.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#768FEA
RGBrgb(118, 143, 234)
HSLhsl(227, 73%, 69%)
HSVhsv(227, 50%, 92%)
CMYKcmyk(49.6%, 38.9%, 0%, 8.2%)
CIE-LABlab(61.16, 15.74, -48.78)
CIE-LCHlch(61.16, 51.26, 287.88°)
OKLaboklab(67.09% 0.0017 -0.138)
OKLCHoklch(67.09% 0.138 270.7)
XYZxyz(32.1402, 29.4349, 81.8139)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FEA #EAD176
analogous
#76C9EA #768FEA #9776EA
triadic
#768FEA #EA768F #8FEA76
tetradic
#768FEA #EA76C9 #EAD176 #76EA97
square
#768FEA #EA76C9 #EAD176 #76EA97
split-complementary
#768FEA #EA9776 #C9EA76
monochromatic
#1F43C7 #4164E2 #768FEA #ABBAF2 #E0E6FA

Accessibility & contrast

On white

3.05
#768FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#768FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FEA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FEA#FFFFFF#000000##000000
##768FEA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#45A2B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768fea;
/* rgb */ color: rgb(118, 143, 234);
/* oklch */ color: oklch(67.1% 0.138 270.7);
Tailwind
colors: {
  custom: {
    50: '#a4aff1',
    500: '#768fea',
    950: '#000000',
  },
}
SCSS
$custom: #768fea;
$custom-light: #a4aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#768fea",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 227.069,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.13797,
    "h": 270.7
  },
  "luminance": 0.29437
}

Semantic roles & 50–950 ramp

primary
#768FEA
secondary
#EFE8CD
accent
#AB10D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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