#787FBE#787FBE

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

Color values

HEX#787FBE
RGBrgb(120, 127, 190)
HSLhsl(234, 35%, 61%)
HSVhsv(234, 37%, 75%)
CMYKcmyk(36.8%, 33.2%, 0%, 25.5%)
CIE-LABlab(54.96, 12.91, -33.82)
CIE-LCHlch(54.96, 36.19, 290.89°)
OKLaboklab(61.65% 0.0139 -0.0945)
OKLCHoklch(61.65% 0.095 278.3)
XYZxyz(24.6267, 22.8886, 51.8256)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FBE #BEB778
analogous
#78A2BE #787FBE #9478BE
triadic
#787FBE #BE787F #7FBE78
tetradic
#787FBE #BE78A2 #BEB778 #78BE94
square
#787FBE #BE78A2 #BEB778 #78BE94
split-complementary
#787FBE #BE9478 #A2BE78
monochromatic
#3D447F #515AA8 #787FBE #A1A6D2 #CBCDE6

Accessibility & contrast

On white

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

On black

5.58
#787FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FBE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FBE#FFFFFF#000000##000000
##787FBE1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C1
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#648B96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787fbe;
/* rgb */ color: rgb(120, 127, 190);
/* oklch */ color: oklch(61.7% 0.095 278.3);
Tailwind
colors: {
  custom: {
    50: '#a1a4d2',
    500: '#787fbe',
    950: '#000000',
  },
}
SCSS
$custom: #787fbe;
$custom-light: #a1a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787fbe",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 234,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.09548,
    "h": 278.3
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#787FBE
secondary
#D6D4BC
accent
#A238AE
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #787FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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