#768CF8#768CF8

#768CF8 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.3% C 0.161 H 272.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#768CF8
RGBrgb(118, 140, 248)
HSLhsl(230, 90%, 72%)
HSVhsv(230, 52%, 97%)
CMYKcmyk(52.4%, 43.5%, 0%, 2.7%)
CIE-LABlab(61.12, 21.79, -56.58)
CIE-LCHlch(61.12, 60.63, 291.06°)
OKLaboklab(67.29% 0.0076 -0.1608)
OKLCHoklch(67.29% 0.161 272.7)
XYZxyz(33.7871, 29.3828, 92.6798)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF8 #F8E276
analogous
#76CDF8 #768CF8 #A176F8
triadic
#768CF8 #F8768C #8CF876
tetradic
#768CF8 #F876CD #F8E276 #76F8A1
square
#768CF8 #F876CD #F8E276 #76F8A1
split-complementary
#768CF8 #F8A176 #CDF876
monochromatic
#0C31E8 #3C5BF5 #768CF8 #B0BDFB #E2E7FE

Accessibility & contrast

On white

3.05
#768CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#768CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF8#FFFFFF#000000##000000
##768CF81.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#38A3B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768cf8;
/* rgb */ color: rgb(118, 140, 248);
/* oklch */ color: oklch(67.3% 0.161 272.7);
Tailwind
colors: {
  custom: {
    50: '#a5adfb',
    500: '#768cf8',
    950: '#000000',
  },
}
SCSS
$custom: #768cf8;
$custom-light: #a5adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf8",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 229.846,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67289,
    "c": 0.16099,
    "h": 272.7
  },
  "luminance": 0.29385
}

Semantic roles & 50–950 ramp

primary
#768CF8
secondary
#F5F0D4
accent
#BF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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