#768FE3#768FE3

#768FE3 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.128 H 270.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#768FE3
RGBrgb(118, 143, 227)
HSLhsl(226, 66%, 68%)
HSVhsv(226, 48%, 89%)
CMYKcmyk(48%, 37%, 0%, 11%)
CIE-LABlab(60.82, 13.63, -45.45)
CIE-LCHlch(60.82, 47.45, 286.70°)
OKLaboklab(66.71% 0.0002 -0.1282)
OKLCHoklch(66.71% 0.128 270.1)
XYZxyz(31.1544, 29.0406, 76.6219)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FE3 #E3CA76
analogous
#76C5E3 #768FE3 #9476E3
triadic
#768FE3 #E3768F #8FE376
tetradic
#768FE3 #E376C5 #E3CA76 #76E394
square
#768FE3 #E376C5 #E3CA76 #76E394
split-complementary
#768FE3 #E39476 #C5E376
monochromatic
#2648B9 #4365D9 #768FE3 #A9B9ED #DCE2F8

Accessibility & contrast

On white

3.08
#768FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#768FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FE3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FE3#FFFFFF#000000##000000
##768FE31.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E6
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#4AA1AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768fe3;
/* rgb */ color: rgb(118, 143, 227);
/* oklch */ color: oklch(66.7% 0.128 270.1);
Tailwind
colors: {
  custom: {
    50: '#a3afec',
    500: '#768fe3',
    950: '#000000',
  },
}
SCSS
$custom: #768fe3;
$custom-light: #a3afec;
$custom-dark: #000000;
JSON
{
  "hex": "#768fe3",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 226.239,
    "s": 66.061,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.12824,
    "h": 270.1
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#768FE3
secondary
#EBE4C9
accent
#A418CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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