#778AF2#778AF2

#778AF2 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.6% C 0.155 H 273.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#778AF2
RGBrgb(119, 138, 242)
HSLhsl(231, 83%, 71%)
HSVhsv(231, 51%, 95%)
CMYKcmyk(50.8%, 43%, 0%, 5.1%)
CIE-LABlab(60.34, 21.35, -54.50)
CIE-LCHlch(60.34, 58.53, 291.39°)
OKLaboklab(66.61% 0.0099 -0.1547)
OKLCHoklch(66.61% 0.155 273.7)
XYZxyz(32.7181, 28.5076, 87.7656)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778AF2 #F2DF77
analogous
#77C7F2 #778AF2 #A177F2
triadic
#778AF2 #F2778A #8AF277
tetradic
#778AF2 #F277C7 #F2DF77 #77F2A1
square
#778AF2 #F277C7 #F2DF77 #77F2A1
split-complementary
#778AF2 #F2A177 #C7F277
monochromatic
#1533DA #3F5AED #778AF2 #AFBAF7 #E3E7FC

Accessibility & contrast

On white

3.13
#778AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#778AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778AF2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778AF2#FFFFFF#000000##000000
##778AF21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#41A0B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #778af2;
/* rgb */ color: rgb(119, 138, 242);
/* oklch */ color: oklch(66.6% 0.155 273.7);
Tailwind
colors: {
  custom: {
    50: '#a5abf7',
    500: '#778af2',
    950: '#000000',
  },
}
SCSS
$custom: #778af2;
$custom-light: #a5abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#778af2",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 230.732,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6661,
    "c": 0.15503,
    "h": 273.7
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#778AF2
secondary
#F3EED2
accent
#BE07DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #778AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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