#778BFB#778BFB

#778BFB is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.3% C 0.166 H 273.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#778BFB
RGBrgb(119, 139, 251)
HSLhsl(231, 94%, 73%)
HSVhsv(231, 53%, 98%)
CMYKcmyk(52.6%, 44.6%, 0%, 1.6%)
CIE-LABlab(61.09, 23.51, -58.27)
CIE-LCHlch(61.09, 62.84, 291.98°)
OKLaboklab(67.34% 0.0102 -0.1658)
OKLCHoklch(67.34% 0.166 273.5)
XYZxyz(34.2473, 29.3499, 95.1085)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778BFB #FBE777
analogous
#77CDFB #778BFB #A577FB
triadic
#778BFB #FB778B #8BFB77
tetradic
#778BFB #FB77CD #FBE777 #77FBA5
square
#778BFB #FB77CD #FBE777 #77FBA5
split-complementary
#778BFB #FBA577 #CDFB77
monochromatic
#072AF1 #3C58F9 #778BFB #B2BEFD #E1E6FE

Accessibility & contrast

On white

3.06
#778BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#778BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778BFB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778BFB#FFFFFF#000000##000000
##778BFB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#4B8EF9
Tritanopia (blue-blind)
#38A3B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #778bfb;
/* rgb */ color: rgb(119, 139, 251);
/* oklch */ color: oklch(67.3% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6acfd',
    500: '#778bfb',
    950: '#000000',
  },
}
SCSS
$custom: #778bfb;
$custom-light: #a6acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#778bfb",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 230.909,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.16607,
    "h": 273.5
  },
  "luminance": 0.29352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #778BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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