#787FBB#787FBB

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

Color values

HEX#787FBB
RGBrgb(120, 127, 187)
HSLhsl(234, 33%, 60%)
HSVhsv(234, 36%, 73%)
CMYKcmyk(35.8%, 32.1%, 0%, 26.7%)
CIE-LABlab(54.82, 12.08, -32.31)
CIE-LCHlch(54.82, 34.50, 290.50°)
OKLaboklab(61.5% 0.0131 -0.0901)
OKLCHoklch(61.5% 0.091 278.3)
XYZxyz(24.3022, 22.7588, 50.1165)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FBB #BBB478
analogous
#78A1BB #787FBB #9278BB
triadic
#787FBB #BB787F #7FBB78
tetradic
#787FBB #BB78A1 #BBB478 #78BB92
square
#787FBB #BB78A1 #BBB478 #78BB92
split-complementary
#787FBB #BB9278 #A1BB78
monochromatic
#3E447B #525BA3 #787FBB #A1A6D0 #C9CCE4

Accessibility & contrast

On white

3.78
#787FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#787FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FBB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FBB#FFFFFF#000000##000000
##787FBB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BD
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#658B95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #787fbb;
/* rgb */ color: rgb(120, 127, 187);
/* oklch */ color: oklch(61.5% 0.091 278.3);
Tailwind
colors: {
  custom: {
    50: '#a1a4cf',
    500: '#787fbb',
    950: '#000000',
  },
}
SCSS
$custom: #787fbb;
$custom-light: #a1a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#787fbb",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 233.731,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.09107,
    "h": 278.3
  },
  "luminance": 0.2276
}

Semantic roles & 50–950 ramp

primary
#787FBB
secondary
#D4D2BB
accent
#A03AAC
background
#FAFAFC
surface
#F3F3F9
border
#CDCDD2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #787FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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