#788FDB#788FDB

#788FDB is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.4% C 0.116 H 270.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#788FDB
RGBrgb(120, 143, 219)
HSLhsl(226, 58%, 66%)
HSVhsv(226, 45%, 86%)
CMYKcmyk(45.2%, 34.7%, 0%, 14.1%)
CIE-LABlab(60.56, 11.75, -41.39)
CIE-LCHlch(60.56, 43.03, 285.85°)
OKLaboklab(66.42% 0.0004 -0.1164)
OKLCHoklch(66.42% 0.116 270.2)
XYZxyz(30.3503, 28.7507, 70.9543)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788FDB #DBC478
analogous
#78C1DB #788FDB #9378DB
triadic
#788FDB #DB788F #8FDB78
tetradic
#788FDB #DB78C1 #DBC478 #78DB93
square
#788FDB #DB78C1 #DBC478 #78DB93
split-complementary
#788FDB #DB9378 #C1DB78
monochromatic
#2E4BAB #4867CE #788FDB #A8B7E8 #D9DFF5

Accessibility & contrast

On white

3.11
#788FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#788FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788FDB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788FDB#FFFFFF#000000##000000
##788FDB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#549FAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788fdb;
/* rgb */ color: rgb(120, 143, 219);
/* oklch */ color: oklch(66.4% 0.116 270.2);
Tailwind
colors: {
  custom: {
    50: '#a3afe6',
    500: '#788fdb',
    950: '#000000',
  },
}
SCSS
$custom: #788fdb;
$custom-light: #a3afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#788fdb",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 226.061,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66416,
    "c": 0.11639,
    "h": 270.2
  },
  "luminance": 0.28752
}

Semantic roles & 50–950 ramp

primary
#788FDB
secondary
#E7E0C7
accent
#9F20C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #788FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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