#768BF1#768BF1

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

Color values

HEX#768BF1
RGBrgb(118, 139, 241)
HSLhsl(230, 81%, 70%)
HSVhsv(230, 51%, 95%)
CMYKcmyk(51%, 42.3%, 0%, 5.5%)
CIE-LABlab(60.49, 20.23, -53.73)
CIE-LCHlch(60.49, 57.41, 290.63°)
OKLaboklab(66.68% 0.0076 -0.1525)
OKLCHoklch(66.68% 0.153 272.9)
XYZxyz(32.5759, 28.6656, 87.0185)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF1 #F1DC76
analogous
#76C8F1 #768BF1 #9E76F1
triadic
#768BF1 #F1768B #8BF176
tetradic
#768BF1 #F176C8 #F1DC76 #76F19E
square
#768BF1 #F176C8 #F1DC76 #76F19E
split-complementary
#768BF1 #F19E76 #C8F176
monochromatic
#1637D7 #3E5CEB #768BF1 #AEBAF7 #E3E7FC

Accessibility & contrast

On white

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

On black

6.73
#768BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF1#FFFFFF#000000##000000
##768BF11.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F5
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#3FA1B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768bf1;
/* rgb */ color: rgb(118, 139, 241);
/* oklch */ color: oklch(66.7% 0.153 272.9);
Tailwind
colors: {
  custom: {
    50: '#a5acf6',
    500: '#768bf1',
    950: '#000000',
  },
}
SCSS
$custom: #768bf1;
$custom-light: #a5acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf1",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 229.756,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.15265,
    "h": 272.9
  },
  "luminance": 0.28668
}

Semantic roles & 50–950 ramp

primary
#768BF1
secondary
#F2EDD1
accent
#B908DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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