#788BFA#788BFA

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

Color values

HEX#788BFA
RGBrgb(120, 139, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(52%, 44.4%, 0%, 2%)
CIE-LABlab(61.10, 23.42, -57.71)
CIE-LCHlch(61.10, 62.28, 292.09°)
OKLaboklab(67.34% 0.0111 -0.1641)
OKLCHoklch(67.34% 0.164 273.9)
XYZxyz(34.2281, 29.3582, 94.2870)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BFA #FAE778
analogous
#78CCFA #788BFA #A678FA
triadic
#788BFA #FA788B #8BFA78
tetradic
#788BFA #FA78CC #FAE778 #78FAA6
square
#788BFA #FA78CC #FAE778 #78FAA6
split-complementary
#788BFA #FAA678 #CCFA78
monochromatic
#092AEF #3D58F8 #788BFA #B3BEFC #E1E6FE

Accessibility & contrast

On white

3.06
#788BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#788BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BFA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BFA#FFFFFF#000000##000000
##788BFA1.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)
#5B99FE
Deuteranopia (green-blind)
#4D8EF8
Tritanopia (blue-blind)
#3CA3B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788bfa;
/* rgb */ color: rgb(120, 139, 250);
/* oklch */ color: oklch(67.3% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7acfc',
    500: '#788bfa',
    950: '#000000',
  },
}
SCSS
$custom: #788bfa;
$custom-light: #a7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#788bfa",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 231.231,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.16445,
    "h": 273.9
  },
  "luminance": 0.2936
}

Semantic roles & 50–950 ramp

primary
#788BFA
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788BFA

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

Preview Lab → · Contrast checker → · Palette generator →

#788BFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva