#787CA2#787CA2

#787CA2 is a mid, muted blue. Relative luminance 0.210; OKLCH L 59.7% C 0.058 H 279.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#787CA2
RGBrgb(120, 124, 162)
HSLhsl(234, 18%, 55%)
HSVhsv(234, 26%, 64%)
CMYKcmyk(25.9%, 23.5%, 0%, 36.5%)
CIE-LABlab(52.97, 7.25, -20.78)
CIE-LCHlch(52.97, 22.01, 289.24°)
OKLaboklab(59.72% 0.0099 -0.0572)
OKLCHoklch(59.72% 0.058 279.8)
XYZxyz(21.4733, 21.0165, 37.1007)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CA2 #A29E78
analogous
#7891A2 #787CA2 #8978A2
triadic
#787CA2 #A2787C #7CA278
tetradic
#787CA2 #A27891 #A29E78 #78A289
square
#787CA2 #A27891 #A29E78 #78A289
split-complementary
#787CA2 #A28978 #91A278
monochromatic
#41445E #5A5E83 #787CA2 #9C9FBB #C0C2D4

Accessibility & contrast

On white

4.04
#787CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#787CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CA2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CA2#FFFFFF#000000##000000
##787CA21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#6E8389
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787ca2;
/* rgb */ color: rgb(120, 124, 162);
/* oklch */ color: oklch(59.7% 0.058 279.8);
Tailwind
colors: {
  custom: {
    50: '#9fa1bd',
    500: '#787ca2',
    950: '#000000',
  },
}
SCSS
$custom: #787ca2;
$custom-light: #9fa1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#787ca2",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 234.286,
    "s": 18.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.05802,
    "h": 279.8
  },
  "luminance": 0.21017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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