#787DBF#787DBF

#787DBF is a mid, moderate blue. Relative luminance 0.224; OKLCH L 61.3% C 0.100 H 279.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#787DBF
RGBrgb(120, 125, 191)
HSLhsl(236, 36%, 61%)
HSVhsv(236, 37%, 75%)
CMYKcmyk(37.2%, 34.6%, 0%, 25.1%)
CIE-LABlab(54.47, 14.37, -35.15)
CIE-LCHlch(54.47, 37.97, 292.24°)
OKLaboklab(61.29% 0.0168 -0.0983)
OKLCHoklch(61.29% 0.1 279.7)
XYZxyz(24.4806, 22.4210, 52.3179)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DBF #BFBA78
analogous
#78A0BF #787DBF #9678BF
triadic
#787DBF #BF787D #7DBF78
tetradic
#787DBF #BF78A0 #BFBA78 #78BF96
square
#787DBF #BF78A0 #BFBA78 #78BF96
split-complementary
#787DBF #BF9678 #A0BF78
monochromatic
#3D4180 #5057A9 #787DBF #A2A5D3 #CBCDE6

Accessibility & contrast

On white

3.83
#787DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#787DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DBF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DBF#FFFFFF#000000##000000
##787DBF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#648A95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #787dbf;
/* rgb */ color: rgb(120, 125, 191);
/* oklch */ color: oklch(61.3% 0.100 279.7);
Tailwind
colors: {
  custom: {
    50: '#a1a2d2',
    500: '#787dbf',
    950: '#000000',
  },
}
SCSS
$custom: #787dbf;
$custom-light: #a1a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787dbf",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 235.775,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.09976,
    "h": 279.7
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#787DBF
secondary
#D7D5BC
accent
#A637AF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82

Preview Lab

Preview with #787DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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