#788EEB#788EEB

#788EEB is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.1% C 0.140 H 272.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#788EEB
RGBrgb(120, 142, 235)
HSLhsl(229, 74%, 70%)
HSVhsv(229, 49%, 92%)
CMYKcmyk(48.9%, 39.6%, 0%, 7.8%)
CIE-LABlab(61.08, 17.09, -49.47)
CIE-LCHlch(61.08, 52.34, 289.06°)
OKLaboklab(67.07% 0.0051 -0.1399)
OKLCHoklch(67.07% 0.14 272.1)
XYZxyz(32.4093, 29.3352, 82.5357)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EEB #EBD578
analogous
#78C7EB #788EEB #9C78EB
triadic
#788EEB #EB788E #8EEB78
tetradic
#788EEB #EB78C7 #EBD578 #78EB9C
square
#788EEB #EB78C7 #EBD578 #78EB9C
split-complementary
#788EEB #EB9C78 #C7EB78
monochromatic
#1E3FCB #4361E3 #788EEB #ADBBF3 #E3E7FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788EEB#FFFFFF#000000##000000
##788EEB1.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)
#6A99EF
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#49A2B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788eeb;
/* rgb */ color: rgb(120, 142, 235);
/* oklch */ color: oklch(67.1% 0.140 272.1);
Tailwind
colors: {
  custom: {
    50: '#a5aef2',
    500: '#788eeb',
    950: '#000000',
  },
}
SCSS
$custom: #788eeb;
$custom-light: #a5aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#788eeb",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 228.522,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67068,
    "c": 0.14002,
    "h": 272.1
  },
  "luminance": 0.29337
}

Semantic roles & 50–950 ramp

primary
#788EEB
secondary
#F0EACF
accent
#B00FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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