#768CF1#768CF1

#768CF1 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.9% C 0.151 H 272.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#768CF1
RGBrgb(118, 140, 241)
HSLhsl(229, 81%, 70%)
HSVhsv(229, 51%, 95%)
CMYKcmyk(51%, 41.9%, 0%, 5.5%)
CIE-LABlab(60.74, 19.64, -53.32)
CIE-LCHlch(60.74, 56.82, 290.22°)
OKLaboklab(66.88% 0.0065 -0.1512)
OKLCHoklch(66.88% 0.151 272.4)
XYZxyz(32.7214, 28.9565, 87.0670)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF1 #F1DB76
analogous
#76CAF1 #768CF1 #9D76F1
triadic
#768CF1 #F1768C #8CF176
tetradic
#768CF1 #F176CA #F1DB76 #76F19D
square
#768CF1 #F176CA #F1DB76 #76F19D
split-complementary
#768CF1 #F19D76 #CAF176
monochromatic
#1638D7 #3E5DEB #768CF1 #AEBBF7 #E3E8FC

Accessibility & contrast

On white

3.09
#768CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#768CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF1#FFFFFF#000000##000000
##768CF11.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#558EEF
Tritanopia (blue-blind)
#3FA2B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768cf1;
/* rgb */ color: rgb(118, 140, 241);
/* oklch */ color: oklch(66.9% 0.151 272.4);
Tailwind
colors: {
  custom: {
    50: '#a5adf6',
    500: '#768cf1',
    950: '#000000',
  },
}
SCSS
$custom: #768cf1;
$custom-light: #a5adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf1",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 229.268,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66881,
    "c": 0.15139,
    "h": 272.4
  },
  "luminance": 0.28959
}

Semantic roles & 50–950 ramp

primary
#768CF1
secondary
#F2ECD1
accent
#B808DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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