#768FF1#768FF1

#768FF1 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.148 H 271.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#768FF1
RGBrgb(118, 143, 241)
HSLhsl(228, 81%, 70%)
HSVhsv(228, 51%, 95%)
CMYKcmyk(51%, 40.7%, 0%, 5.5%)
CIE-LABlab(61.52, 17.87, -52.08)
CIE-LCHlch(61.52, 55.06, 288.94°)
OKLaboklab(67.48% 0.0031 -0.1476)
OKLCHoklch(67.48% 0.148 271.2)
XYZxyz(33.1657, 29.8452, 87.2151)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF1 #F1D876
analogous
#76CCF1 #768FF1 #9A76F1
triadic
#768FF1 #F1768F #8FF176
tetradic
#768FF1 #F176CC #F1D876 #76F19A
square
#768FF1 #F176CC #F1D876 #76F19A
split-complementary
#768FF1 #F19A76 #CCF176
monochromatic
#163DD7 #3E62EB #768FF1 #AEBCF7 #E3E8FC

Accessibility & contrast

On white

3.01
#768FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#768FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FF1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF1#FFFFFF#000000##000000
##768FF11.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#3FA4B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ff1;
/* rgb */ color: rgb(118, 143, 241);
/* oklch */ color: oklch(67.5% 0.148 271.2);
Tailwind
colors: {
  custom: {
    50: '#a4aff6',
    500: '#768ff1',
    950: '#000000',
  },
}
SCSS
$custom: #768ff1;
$custom-light: #a4aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff1",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 227.805,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67477,
    "c": 0.14765,
    "h": 271.2
  },
  "luminance": 0.29847
}

Semantic roles & 50–950 ramp

primary
#768FF1
secondary
#F2EBD1
accent
#B208DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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