#778CEF#778CEF

#778CEF is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.148 H 272.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#778CEF
RGBrgb(119, 140, 239)
HSLhsl(230, 79%, 70%)
HSVhsv(230, 50%, 94%)
CMYKcmyk(50.2%, 41.4%, 0%, 6.3%)
CIE-LABlab(60.70, 19.25, -52.28)
CIE-LCHlch(60.70, 55.71, 290.22°)
OKLaboklab(66.83% 0.0071 -0.1482)
OKLCHoklch(66.83% 0.148 272.8)
XYZxyz(32.5608, 28.9080, 85.5087)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778CEF #EFDA77
analogous
#77C8EF #778CEF #9E77EF
triadic
#778CEF #EF778C #8CEF77
tetradic
#778CEF #EF77C8 #EFDA77 #77EF9E
square
#778CEF #EF77C8 #EFDA77 #77EF9E
split-complementary
#778CEF #EF9E77 #C8EF77
monochromatic
#1939D3 #405EE9 #778CEF #AEBAF5 #E4E8FC

Accessibility & contrast

On white

3.10
#778CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#778CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778CEF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778CEF#FFFFFF#000000##000000
##778CEF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#44A1B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #778cef;
/* rgb */ color: rgb(119, 140, 239);
/* oklch */ color: oklch(66.8% 0.148 272.8);
Tailwind
colors: {
  custom: {
    50: '#a5adf5',
    500: '#778cef',
    950: '#000000',
  },
}
SCSS
$custom: #778cef;
$custom-light: #a5adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#778cef",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 229.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.14836,
    "h": 272.8
  },
  "luminance": 0.2891
}

Semantic roles & 50–950 ramp

primary
#778CEF
secondary
#F2ECD0
accent
#B70ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #778CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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