#768BE5#768BE5

#768BE5 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.0% C 0.136 H 272.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#768BE5
RGBrgb(118, 139, 229)
HSLhsl(229, 68%, 68%)
HSVhsv(229, 48%, 90%)
CMYKcmyk(48.5%, 39.3%, 0%, 10.2%)
CIE-LABlab(59.86, 16.59, -48.07)
CIE-LCHlch(59.86, 50.85, 289.04°)
OKLaboklab(66.01% 0.0054 -0.1359)
OKLCHoklch(66.01% 0.136 272.3)
XYZxyz(30.8422, 27.9721, 77.8875)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BE5 #E5D076
analogous
#76C2E5 #768BE5 #9976E5
triadic
#768BE5 #E5768B #8BE576
tetradic
#768BE5 #E576C2 #E5D076 #76E599
square
#768BE5 #E576C2 #E5D076 #76E599
split-complementary
#768BE5 #E59976 #C2E576
monochromatic
#2441BD #435FDB #768BE5 #A9B7EF #DDE2F9

Accessibility & contrast

On white

3.18
#768BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#768BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BE5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BE5#FFFFFF#000000##000000
##768BE51.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E9
Deuteranopia (green-blind)
#5D8CE3
Tritanopia (blue-blind)
#4A9EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #768be5;
/* rgb */ color: rgb(118, 139, 229);
/* oklch */ color: oklch(66.0% 0.136 272.3);
Tailwind
colors: {
  custom: {
    50: '#a3aced',
    500: '#768be5',
    950: '#000000',
  },
}
SCSS
$custom: #768be5;
$custom-light: #a3aced;
$custom-dark: #000000;
JSON
{
  "hex": "#768be5",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 228.649,
    "s": 68.098,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.13601,
    "h": 272.3
  },
  "luminance": 0.27974
}

Semantic roles & 50–950 ramp

primary
#768BE5
secondary
#ECE6CA
accent
#AD15D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #768BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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