#787EB0#787EB0

#787EB0 is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.8% C 0.076 H 278.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#787EB0
RGBrgb(120, 126, 176)
HSLhsl(234, 26%, 58%)
HSVhsv(234, 32%, 69%)
CMYKcmyk(31.8%, 28.4%, 0%, 31%)
CIE-LABlab(54.08, 9.70, -27.16)
CIE-LCHlch(54.08, 28.84, 289.65°)
OKLaboklab(60.77% 0.0114 -0.0753)
OKLCHoklch(60.77% 0.076 278.6)
XYZxyz(23.0409, 22.0487, 44.1077)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EB0 #B0AA78
analogous
#789AB0 #787EB0 #8E78B0
triadic
#787EB0 #B0787E #7EB078
tetradic
#787EB0 #B0789A #B0AA78 #78B08E
square
#787EB0 #B0789A #B0AA78 #78B08E
split-complementary
#787EB0 #B08E78 #9AB078
monochromatic
#40456E #575D94 #787EB0 #9FA3C7 #C5C8DD

Accessibility & contrast

On white

3.88
#787EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#787EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EB0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EB0#FFFFFF#000000##000000
##787EB01.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B2
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#698790
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787eb0;
/* rgb */ color: rgb(120, 126, 176);
/* oklch */ color: oklch(60.8% 0.076 278.6);
Tailwind
colors: {
  custom: {
    50: '#a0a3c7',
    500: '#787eb0',
    950: '#000000',
  },
}
SCSS
$custom: #787eb0;
$custom-light: #a0a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#787eb0",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 176
  },
  "hsl": {
    "h": 233.571,
    "s": 26.168,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.07618,
    "h": 278.6
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#787EB0
secondary
#CDCBB7
accent
#B965C3
background
#F9FAFC
surface
#F2F3F8
border
#CCCDD1
text
#0F0F13
muted
#7E7F82

Preview Lab

Preview with #787EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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