#778AFA#778AFA

#778AFA is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.1% C 0.166 H 273.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#778AFA
RGBrgb(119, 138, 250)
HSLhsl(231, 93%, 72%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(52.4%, 44.8%, 0%, 2%)
CIE-LABlab(60.78, 23.80, -58.21)
CIE-LCHlch(60.78, 62.89, 292.23°)
OKLaboklab(67.08% 0.0111 -0.1656)
OKLCHoklch(67.08% 0.166 273.8)
XYZxyz(33.9460, 28.9988, 94.2325)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778AFA #FAE777
analogous
#77CBFA #778AFA #A677FA
triadic
#778AFA #FA778A #8AFA77
tetradic
#778AFA #FA77CB #FAE777 #77FAA6
square
#778AFA #FA77CB #FAE777 #77FAA6
split-complementary
#778AFA #FAA677 #CBFA77
monochromatic
#092AEE #3C57F8 #778AFA #B2BDFC #E1E6FE

Accessibility & contrast

On white

3.09
#778AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#778AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778AFA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778AFA#FFFFFF#000000##000000
##778AFA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#4A8DF8
Tritanopia (blue-blind)
#39A2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #778afa;
/* rgb */ color: rgb(119, 138, 250);
/* oklch */ color: oklch(67.1% 0.166 273.8);
Tailwind
colors: {
  custom: {
    50: '#a6abfc',
    500: '#778afa',
    950: '#000000',
  },
}
SCSS
$custom: #778afa;
$custom-light: #a6abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#778afa",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 231.298,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67084,
    "c": 0.16597,
    "h": 273.8
  },
  "luminance": 0.29001
}

Semantic roles & 50–950 ramp

primary
#778AFA
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #778AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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