#787BBE#787BBE

#787BBE is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.8% C 0.101 H 281.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#787BBE
RGBrgb(120, 123, 190)
HSLhsl(237, 35%, 61%)
HSVhsv(237, 37%, 75%)
CMYKcmyk(36.8%, 35.3%, 0%, 25.5%)
CIE-LABlab(53.90, 15.29, -35.48)
CIE-LCHlch(53.90, 38.63, 293.31°)
OKLaboklab(60.83% 0.0193 -0.0993)
OKLCHoklch(60.83% 0.101 281)
XYZxyz(24.1203, 21.8758, 51.6568)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BBE #BEBB78
analogous
#789EBE #787BBE #9878BE
triadic
#787BBE #BE787B #7BBE78
tetradic
#787BBE #BE789E #BEBB78 #78BE98
square
#787BBE #BE789E #BEBB78 #78BE98
split-complementary
#787BBE #BE9878 #9EBE78
monochromatic
#3D407F #5155A8 #787BBE #A1A3D2 #CBCCE6

Accessibility & contrast

On white

3.91
#787BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#787BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BBE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BBE#FFFFFF#000000##000000
##787BBE1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C1
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#648894
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787bbe;
/* rgb */ color: rgb(120, 123, 190);
/* oklch */ color: oklch(60.8% 0.101 281.0);
Tailwind
colors: {
  custom: {
    50: '#a1a1d2',
    500: '#787bbe',
    950: '#000000',
  },
}
SCSS
$custom: #787bbe;
$custom-light: #a1a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787bbe",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 190
  },
  "hsl": {
    "h": 237.429,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.10113,
    "h": 281
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#787BBE
secondary
#D6D5BC
accent
#A938AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #787BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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