#787FBD#787FBD

#787FBD is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.6% C 0.094 H 278.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#787FBD
RGBrgb(120, 127, 189)
HSLhsl(234, 34%, 61%)
HSVhsv(234, 37%, 74%)
CMYKcmyk(36.5%, 32.8%, 0%, 25.9%)
CIE-LABlab(54.91, 12.63, -33.31)
CIE-LCHlch(54.91, 35.63, 290.76°)
OKLaboklab(61.6% 0.0136 -0.093)
OKLCHoklch(61.6% 0.094 278.3)
XYZxyz(24.5178, 22.8450, 51.2520)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FBD #BDB678
analogous
#78A1BD #787FBD #9378BD
triadic
#787FBD #BD787F #7FBD78
tetradic
#787FBD #BD78A1 #BDB678 #78BD93
square
#787FBD #BD78A1 #BDB678 #78BD93
split-complementary
#787FBD #BD9378 #A1BD78
monochromatic
#3D447D #515AA6 #787FBD #A1A6D1 #CACDE5

Accessibility & contrast

On white

3.77
#787FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#787FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FBD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FBD#FFFFFF#000000##000000
##787FBD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#648B95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #787fbd;
/* rgb */ color: rgb(120, 127, 189);
/* oklch */ color: oklch(61.6% 0.094 278.3);
Tailwind
colors: {
  custom: {
    50: '#a1a4d1',
    500: '#787fbd',
    950: '#000000',
  },
}
SCSS
$custom: #787fbd;
$custom-light: #a1a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#787fbd",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 233.913,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.09402,
    "h": 278.3
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#787FBD
secondary
#D6D3BB
accent
#A138AD
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #787FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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