#768EFC#768EFC

#768EFC is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.164 H 272.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#768EFC
RGBrgb(118, 142, 252)
HSLhsl(229, 96%, 73%)
HSVhsv(229, 53%, 99%)
CMYKcmyk(53.2%, 43.7%, 0%, 1.2%)
CIE-LABlab(61.85, 21.84, -57.61)
CIE-LCHlch(61.85, 61.62, 290.76°)
OKLaboklab(67.92% 0.006 -0.1638)
OKLCHoklch(67.92% 0.164 272.1)
XYZxyz(34.7092, 30.2234, 96.0813)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EFC #FCE476
analogous
#76D1FC #768EFC #A176FC
triadic
#768EFC #FC768E #8EFC76
tetradic
#768EFC #FC76D1 #FCE476 #76FCA1
square
#768EFC #FC76D1 #FCE476 #76FCA1
split-complementary
#768EFC #FCA176 #D1FC76
monochromatic
#0530F2 #3A5DFB #768EFC #B2BFFD #E1E6FE

Accessibility & contrast

On white

2.98
#768EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#768EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768EFC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EFC#FFFFFF#000000##000000
##768EFC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#33A6B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768efc;
/* rgb */ color: rgb(118, 142, 252);
/* oklch */ color: oklch(67.9% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#a6aefe',
    500: '#768efc',
    950: '#000000',
  },
}
SCSS
$custom: #768efc;
$custom-light: #a6aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#768efc",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 229.254,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67916,
    "c": 0.16394,
    "h": 272.1
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

primary
#768EFC
secondary
#F7F0D4
accent
#BC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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