#768BF2#768BF2

#768BF2 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.7% C 0.154 H 272.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#768BF2
RGBrgb(118, 139, 242)
HSLhsl(230, 83%, 71%)
HSVhsv(230, 51%, 95%)
CMYKcmyk(51.2%, 42.6%, 0%, 5.1%)
CIE-LABlab(60.54, 20.54, -54.20)
CIE-LCHlch(60.54, 57.96, 290.75°)
OKLaboklab(66.74% 0.0078 -0.1538)
OKLCHoklch(66.74% 0.154 272.9)
XYZxyz(32.7257, 28.7255, 87.8073)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF2 #F2DD76
analogous
#76C9F2 #768BF2 #9F76F2
triadic
#768BF2 #F2768B #8BF276
tetradic
#768BF2 #F276C9 #F2DD76 #76F29F
square
#768BF2 #F276C9 #F2DD76 #76F29F
split-complementary
#768BF2 #F29F76 #C9F276
monochromatic
#1536D9 #3E5CED #768BF2 #AEBAF7 #E3E7FC

Accessibility & contrast

On white

3.11
#768BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#768BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF2#FFFFFF#000000##000000
##768BF21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#538DF0
Tritanopia (blue-blind)
#3EA1B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768bf2;
/* rgb */ color: rgb(118, 139, 242);
/* oklch */ color: oklch(66.7% 0.154 272.9);
Tailwind
colors: {
  custom: {
    50: '#a5acf7',
    500: '#768bf2',
    950: '#000000',
  },
}
SCSS
$custom: #768bf2;
$custom-light: #a5acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf2",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 229.839,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.15403,
    "h": 272.9
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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