#768DF8#768DF8

#768DF8 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.160 H 272.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#768DF8
RGBrgb(118, 141, 248)
HSLhsl(229, 90%, 72%)
HSVhsv(229, 52%, 97%)
CMYKcmyk(52.4%, 43.1%, 0%, 2.7%)
CIE-LABlab(61.37, 21.20, -56.17)
CIE-LCHlch(61.37, 60.04, 290.68°)
OKLaboklab(67.49% 0.0065 -0.1596)
OKLCHoklch(67.49% 0.16 272.3)
XYZxyz(33.9339, 29.6763, 92.7287)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DF8 #F8E176
analogous
#76CEF8 #768DF8 #A076F8
triadic
#768DF8 #F8768D #8DF876
tetradic
#768DF8 #F876CE #F8E176 #76F8A0
square
#768DF8 #F876CE #F8E176 #76F8A0
split-complementary
#768DF8 #F8A076 #CEF876
monochromatic
#0C33E8 #3C5DF5 #768DF8 #B0BDFB #E2E7FE

Accessibility & contrast

On white

3.03
#768DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#768DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DF8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DF8#FFFFFF#000000##000000
##768DF81.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#38A4B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768df8;
/* rgb */ color: rgb(118, 141, 248);
/* oklch */ color: oklch(67.5% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#a5aefb',
    500: '#768df8',
    950: '#000000',
  },
}
SCSS
$custom: #768df8;
$custom-light: #a5aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#768df8",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 229.385,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67485,
    "c": 0.15973,
    "h": 272.3
  },
  "luminance": 0.29679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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