#778EF2#778EF2

#778EF2 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.4% C 0.150 H 272.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#778EF2
RGBrgb(119, 142, 242)
HSLhsl(229, 83%, 71%)
HSVhsv(229, 51%, 95%)
CMYKcmyk(50.8%, 41.3%, 0%, 5.1%)
CIE-LABlab(61.37, 18.98, -52.86)
CIE-LCHlch(61.37, 56.17, 289.75°)
OKLaboklab(67.4% 0.0054 -0.1499)
OKLCHoklch(67.4% 0.15 272.1)
XYZxyz(33.3026, 29.6766, 87.9605)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778EF2 #F2DB77
analogous
#77CCF2 #778EF2 #9D77F2
triadic
#778EF2 #F2778E #8EF277
tetradic
#778EF2 #F277CC #F2DB77 #77F29D
square
#778EF2 #F277CC #F2DB77 #77F29D
split-complementary
#778EF2 #F29D77 #CCF277
monochromatic
#153ADA #3F60ED #778EF2 #AFBCF7 #E3E8FC

Accessibility & contrast

On white

3.03
#778EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#778EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778EF2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778EF2#FFFFFF#000000##000000
##778EF21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#41A3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #778ef2;
/* rgb */ color: rgb(119, 142, 242);
/* oklch */ color: oklch(67.4% 0.150 272.1);
Tailwind
colors: {
  custom: {
    50: '#a5aef7',
    500: '#778ef2',
    950: '#000000',
  },
}
SCSS
$custom: #778ef2;
$custom-light: #a5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#778ef2",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 228.78,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67398,
    "c": 0.14999,
    "h": 272.1
  },
  "luminance": 0.29679
}

Semantic roles & 50–950 ramp

primary
#778EF2
secondary
#F3EDD2
accent
#B607DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #778EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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