#787DA2#787DA2

#787DA2 is a mid, muted blue. Relative luminance 0.213; OKLCH L 59.9% C 0.057 H 278.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#787DA2
RGBrgb(120, 125, 162)
HSLhsl(233, 18%, 55%)
HSVhsv(233, 26%, 64%)
CMYKcmyk(25.9%, 22.8%, 0%, 36.5%)
CIE-LABlab(53.24, 6.66, -20.36)
CIE-LCHlch(53.24, 21.42, 288.12°)
OKLaboklab(59.93% 0.0084 -0.056)
OKLCHoklch(59.93% 0.057 278.5)
XYZxyz(21.5992, 21.2684, 37.1426)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DA2 #A29D78
analogous
#7892A2 #787DA2 #8878A2
triadic
#787DA2 #A2787D #7DA278
tetradic
#787DA2 #A27892 #A29D78 #78A288
square
#787DA2 #A27892 #A29D78 #78A288
split-complementary
#787DA2 #A28878 #92A278
monochromatic
#41455E #5A5F83 #787DA2 #9CA0BB #C0C3D4

Accessibility & contrast

On white

4.00
#787DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#787DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DA2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DA2#FFFFFF#000000##000000
##787DA21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7381A4
Deuteranopia (green-blind)
#707EA1
Tritanopia (blue-blind)
#6E848A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787da2;
/* rgb */ color: rgb(120, 125, 162);
/* oklch */ color: oklch(59.9% 0.057 278.5);
Tailwind
colors: {
  custom: {
    50: '#9fa2bd',
    500: '#787da2',
    950: '#000000',
  },
}
SCSS
$custom: #787da2;
$custom-light: #9fa2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#787da2",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 232.857,
    "s": 18.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.05662,
    "h": 278.5
  },
  "luminance": 0.21269
}

Semantic roles & 50–950 ramp

primary
#787DA2
secondary
#C4C2B2
accent
#B26DBB
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F12
muted
#7E7E81

Preview Lab

Preview with #787DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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