#778EFE#778EFE

#778EFE is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.166 H 272.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#778EFE
RGBrgb(119, 142, 254)
HSLhsl(230, 99%, 73%)
HSVhsv(230, 53%, 100%)
CMYKcmyk(53.1%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.02, 22.67, -58.44)
CIE-LCHlch(62.02, 62.68, 291.20°)
OKLaboklab(68.1% 0.0074 -0.1662)
OKLCHoklch(68.1% 0.166 272.5)
XYZxyz(35.1643, 30.4213, 97.7656)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778EFE #FEE777
analogous
#77D1FE #778EFE #A377FE
triadic
#778EFE #FE778E #8EFE77
tetradic
#778EFE #FE77D1 #FEE777 #77FEA3
square
#778EFE #FE77D1 #FEE777 #77FEA3
split-complementary
#778EFE #FEA377 #D1FE77
monochromatic
#022CF9 #3A5CFE #778EFE #B4C0FE #E1E6FF

Accessibility & contrast

On white

2.96
#778EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#778EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #778EFE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778EFE#FFFFFF#000000##000000
##778EFE1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#33A6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #778efe;
/* rgb */ color: rgb(119, 142, 254);
/* oklch */ color: oklch(68.1% 0.166 272.5);
Tailwind
colors: {
  custom: {
    50: '#a7aeff',
    500: '#778efe',
    950: '#000000',
  },
}
SCSS
$custom: #778efe;
$custom-light: #a7aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#778efe",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 229.778,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.16638,
    "h": 272.5
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

primary
#778EFE
secondary
#F7F1D4
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #778EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#778EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva