#787CB0#787CB0

#787CB0 is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.4% C 0.079 H 280.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#787CB0
RGBrgb(120, 124, 176)
HSLhsl(236, 26%, 58%)
HSVhsv(236, 32%, 69%)
CMYKcmyk(31.8%, 29.5%, 0%, 31%)
CIE-LABlab(53.54, 10.88, -28.00)
CIE-LCHlch(53.54, 30.04, 291.24°)
OKLaboklab(60.35% 0.0142 -0.0777)
OKLCHoklch(60.35% 0.079 280.3)
XYZxyz(22.7877, 21.5423, 44.0233)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CB0 #B0AC78
analogous
#7898B0 #787CB0 #9078B0
triadic
#787CB0 #B0787C #7CB078
tetradic
#787CB0 #B07898 #B0AC78 #78B090
square
#787CB0 #B07898 #B0AC78 #78B090
split-complementary
#787CB0 #B09078 #98B078
monochromatic
#40436E #575B94 #787CB0 #9FA1C7 #C5C7DD

Accessibility & contrast

On white

3.96
#787CB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#787CB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CB0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CB0#FFFFFF#000000##000000
##787CB01.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D82B2
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#6A868E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787cb0;
/* rgb */ color: rgb(120, 124, 176);
/* oklch */ color: oklch(60.4% 0.079 280.3);
Tailwind
colors: {
  custom: {
    50: '#a0a1c7',
    500: '#787cb0',
    950: '#000000',
  },
}
SCSS
$custom: #787cb0;
$custom-light: #a0a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#787cb0",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 176
  },
  "hsl": {
    "h": 235.714,
    "s": 26.168,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.07901,
    "h": 280.3
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#787CB0
secondary
#CDCBB7
accent
#BC65C3
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0F13
muted
#7E7E82

Preview Lab

Preview with #787CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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