#768BF8#768BF8

#768BF8 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.1% C 0.162 H 273.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#768BF8
RGBrgb(118, 139, 248)
HSLhsl(230, 90%, 72%)
HSVhsv(230, 52%, 97%)
CMYKcmyk(52.4%, 44%, 0%, 2.7%)
CIE-LABlab(60.86, 22.38, -56.99)
CIE-LCHlch(60.86, 61.22, 291.44°)
OKLaboklab(67.09% 0.0087 -0.162)
OKLCHoklch(67.09% 0.162 273.1)
XYZxyz(33.6416, 29.0918, 92.6313)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BF8 #F8E376
analogous
#76CCF8 #768BF8 #A276F8
triadic
#768BF8 #F8768B #8BF876
tetradic
#768BF8 #F876CC #F8E376 #76F8A2
square
#768BF8 #F876CC #F8E376 #76F8A2
split-complementary
#768BF8 #F8A276 #CCF876
monochromatic
#0C2FE8 #3C5AF5 #768BF8 #B0BCFB #E2E6FE

Accessibility & contrast

On white

3.08
#768BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#768BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BF8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BF8#FFFFFF#000000##000000
##768BF81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#38A3B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768bf8;
/* rgb */ color: rgb(118, 139, 248);
/* oklch */ color: oklch(67.1% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#a5acfb',
    500: '#768bf8',
    950: '#000000',
  },
}
SCSS
$custom: #768bf8;
$custom-light: #a5acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#768bf8",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 230.308,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67094,
    "c": 0.16224,
    "h": 273.1
  },
  "luminance": 0.29094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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