#768CF2#768CF2

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

Color values

HEX#768CF2
RGBrgb(118, 140, 242)
HSLhsl(229, 83%, 71%)
HSVhsv(229, 51%, 95%)
CMYKcmyk(51.2%, 42.1%, 0%, 5.1%)
CIE-LABlab(60.80, 19.95, -53.79)
CIE-LCHlch(60.80, 57.37, 290.35°)
OKLaboklab(66.94% 0.0066 -0.1526)
OKLCHoklch(66.94% 0.153 272.5)
XYZxyz(32.8712, 29.0164, 87.8558)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF2 #F2DC76
analogous
#76CAF2 #768CF2 #9E76F2
triadic
#768CF2 #F2768C #8CF276
tetradic
#768CF2 #F276CA #F2DC76 #76F29E
square
#768CF2 #F276CA #F2DC76 #76F29E
split-complementary
#768CF2 #F29E76 #CAF276
monochromatic
#1537D9 #3E5DED #768CF2 #AEBBF7 #E3E8FC

Accessibility & contrast

On white

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

On black

6.80
#768CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF2#FFFFFF#000000##000000
##768CF21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#558EF0
Tritanopia (blue-blind)
#3EA2B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768cf2;
/* rgb */ color: rgb(118, 140, 242);
/* oklch */ color: oklch(66.9% 0.153 272.5);
Tailwind
colors: {
  custom: {
    50: '#a5adf7',
    500: '#768cf2',
    950: '#000000',
  },
}
SCSS
$custom: #768cf2;
$custom-light: #a5adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf2",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 229.355,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.15276,
    "h": 272.5
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

primary
#768CF2
secondary
#F3EDD1
accent
#B906DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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