#778EFB#778EFB

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

Color values

HEX#778EFB
RGBrgb(119, 142, 251)
HSLhsl(230, 94%, 73%)
HSVhsv(230, 53%, 98%)
CMYKcmyk(52.6%, 43.4%, 0%, 1.6%)
CIE-LABlab(61.85, 21.74, -57.05)
CIE-LCHlch(61.85, 61.05, 290.86°)
OKLaboklab(67.92% 0.0069 -0.1622)
OKLCHoklch(67.92% 0.162 272.4)
XYZxyz(34.6877, 30.2306, 95.2553)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778EFB #FBE477
analogous
#77D0FB #778EFB #A277FB
triadic
#778EFB #FB778E #8EFB77
tetradic
#778EFB #FB77D0 #FBE477 #77FBA2
square
#778EFB #FB77D0 #FBE477 #77FBA2
split-complementary
#778EFB #FBA277 #D0FB77
monochromatic
#0730F1 #3C5DF9 #778EFB #B2BFFD #E1E6FE

Accessibility & contrast

On white

2.98
#778EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#778EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #778EFB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778EFB#FFFFFF#000000##000000
##778EFB1.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)
#5F9BFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#37A6B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #778efb;
/* rgb */ color: rgb(119, 142, 251);
/* oklch */ color: oklch(67.9% 0.162 272.4);
Tailwind
colors: {
  custom: {
    50: '#a6aefd',
    500: '#778efb',
    950: '#000000',
  },
}
SCSS
$custom: #778efb;
$custom-light: #a6aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#778efb",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 229.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67919,
    "c": 0.16231,
    "h": 272.4
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #778EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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