#787BB0#787BB0

#787BB0 is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.1% C 0.080 H 281.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#787BB0
RGBrgb(120, 123, 176)
HSLhsl(237, 26%, 58%)
HSVhsv(237, 32%, 69%)
CMYKcmyk(31.8%, 30.1%, 0%, 31%)
CIE-LABlab(53.27, 11.48, -28.41)
CIE-LCHlch(53.27, 30.64, 291.99°)
OKLaboklab(60.14% 0.0156 -0.0789)
OKLCHoklch(60.14% 0.08 281.2)
XYZxyz(22.6630, 21.2929, 43.9818)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BB0 #B0AD78
analogous
#7897B0 #787BB0 #9178B0
triadic
#787BB0 #B0787B #7BB078
tetradic
#787BB0 #B07897 #B0AD78 #78B091
square
#787BB0 #B07897 #B0AD78 #78B091
split-complementary
#787BB0 #B09178 #97B078
monochromatic
#40436E #575A94 #787BB0 #9FA1C7 #C5C6DD

Accessibility & contrast

On white

3.99
#787BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#787BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BB0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BB0#FFFFFF#000000##000000
##787BB01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B2
Deuteranopia (green-blind)
#697DAF
Tritanopia (blue-blind)
#6A858E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787bb0;
/* rgb */ color: rgb(120, 123, 176);
/* oklch */ color: oklch(60.1% 0.080 281.2);
Tailwind
colors: {
  custom: {
    50: '#a0a1c7',
    500: '#787bb0',
    950: '#000000',
  },
}
SCSS
$custom: #787bb0;
$custom-light: #a0a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#787bb0",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 176
  },
  "hsl": {
    "h": 236.786,
    "s": 26.168,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.08045,
    "h": 281.2
  },
  "luminance": 0.21294
}

Semantic roles & 50–950 ramp

primary
#787BB0
secondary
#CDCCB7
accent
#BE65C3
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #787BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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