#787FBF#787FBF

#787FBF is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.7% C 0.097 H 278.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#787FBF
RGBrgb(120, 127, 191)
HSLhsl(234, 36%, 61%)
HSVhsv(234, 37%, 75%)
CMYKcmyk(37.2%, 33.5%, 0%, 25.1%)
CIE-LABlab(55.00, 13.18, -34.32)
CIE-LCHlch(55.00, 36.76, 291.02°)
OKLaboklab(61.7% 0.0141 -0.0959)
OKLCHoklch(61.7% 0.097 278.4)
XYZxyz(24.7364, 22.9325, 52.4032)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FBF #BFB878
analogous
#78A2BF #787FBF #9478BF
triadic
#787FBF #BF787F #7FBF78
tetradic
#787FBF #BF78A2 #BFB878 #78BF94
square
#787FBF #BF78A2 #BFB878 #78BF94
split-complementary
#787FBF #BF9478 #A2BF78
monochromatic
#3D4380 #5059A9 #787FBF #A2A6D3 #CBCEE6

Accessibility & contrast

On white

3.76
#787FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#787FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FBF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FBF#FFFFFF#000000##000000
##787FBF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#648B96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787fbf;
/* rgb */ color: rgb(120, 127, 191);
/* oklch */ color: oklch(61.7% 0.097 278.4);
Tailwind
colors: {
  custom: {
    50: '#a1a4d2',
    500: '#787fbf',
    950: '#000000',
  },
}
SCSS
$custom: #787fbf;
$custom-light: #a1a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787fbf",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 234.085,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.617,
    "c": 0.09695,
    "h": 278.4
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#787FBF
secondary
#D7D4BC
accent
#A337AF
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #787FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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