#768BF0#768BF0

#768BF0 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.6% C 0.151 H 272.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#768BF0
RGBrgb(118, 139, 240)
HSLhsl(230, 80%, 70%)
HSVhsv(230, 51%, 94%)
CMYKcmyk(50.8%, 42.1%, 0%, 5.9%)
CIE-LABlab(60.43, 19.93, -53.26)
CIE-LCHlch(60.43, 56.87, 290.51°)
OKLaboklab(66.63% 0.0074 -0.1511)
OKLCHoklch(66.63% 0.151 272.8)
XYZxyz(32.4270, 28.6060, 86.2340)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF0 #F0DB76
analogous
#76C8F0 #768BF0 #9E76F0
triadic
#768BF0 #F0768B #8BF076
tetradic
#768BF0 #F076C8 #F0DB76 #76F09E
square
#768BF0 #F076C8 #F0DB76 #76F09E
split-complementary
#768BF0 #F09E76 #C8F076
monochromatic
#1738D4 #3F5CEA #768BF0 #ADBAF6 #E3E8FC

Accessibility & contrast

On white

3.12
#768BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#768BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF0
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF0#FFFFFF#000000##000000
##768BF01.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F4
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#40A1B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768bf0;
/* rgb */ color: rgb(118, 139, 240);
/* oklch */ color: oklch(66.6% 0.151 272.8);
Tailwind
colors: {
  custom: {
    50: '#a4acf5',
    500: '#768bf0',
    950: '#000000',
  },
}
SCSS
$custom: #768bf0;
$custom-light: #a4acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf0",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 229.672,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66626,
    "c": 0.15127,
    "h": 272.8
  },
  "luminance": 0.28608
}

Semantic roles & 50–950 ramp

primary
#768BF0
secondary
#F2ECD0
accent
#B809DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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