#787DBE#787DBE

#787DBE is a mid, moderate blue. Relative luminance 0.224; OKLCH L 61.2% C 0.098 H 279.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#787DBE
RGBrgb(120, 125, 190)
HSLhsl(236, 35%, 61%)
HSVhsv(236, 37%, 75%)
CMYKcmyk(36.8%, 34.2%, 0%, 25.5%)
CIE-LABlab(54.42, 14.09, -34.65)
CIE-LCHlch(54.42, 37.40, 292.14°)
OKLaboklab(61.24% 0.0166 -0.0969)
OKLCHoklch(61.24% 0.098 279.7)
XYZxyz(24.3710, 22.3771, 51.7403)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DBE #BEB978
analogous
#78A0BE #787DBE #9678BE
triadic
#787DBE #BE787D #7DBE78
tetradic
#787DBE #BE78A0 #BEB978 #78BE96
square
#787DBE #BE78A0 #BEB978 #78BE96
split-complementary
#787DBE #BE9678 #A0BE78
monochromatic
#3D427F #5157A8 #787DBE #A1A5D2 #CBCDE6

Accessibility & contrast

On white

3.84
#787DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#787DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DBE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DBE#FFFFFF#000000##000000
##787DBE1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C1
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#648A95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #787dbe;
/* rgb */ color: rgb(120, 125, 190);
/* oklch */ color: oklch(61.2% 0.098 279.7);
Tailwind
colors: {
  custom: {
    50: '#a1a2d2',
    500: '#787dbe',
    950: '#000000',
  },
}
SCSS
$custom: #787dbe;
$custom-light: #a1a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787dbe",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 235.714,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.09829,
    "h": 279.7
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#787DBE
secondary
#D6D4BC
accent
#A538AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82

Preview Lab

Preview with #787DBE

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

Preview Lab → · Contrast checker → · Palette generator →

#787DBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva