#787FCD#787FCD

#787FCD is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.4% C 0.117 H 278.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#787FCD
RGBrgb(120, 127, 205)
HSLhsl(235, 46%, 64%)
HSVhsv(235, 41%, 80%)
CMYKcmyk(41.5%, 38%, 0%, 19.6%)
CIE-LABlab(55.66, 17.14, -41.23)
CIE-LCHlch(55.66, 44.65, 292.57°)
OKLaboklab(62.43% 0.0174 -0.116)
OKLCHoklch(62.43% 0.117 278.5)
XYZxyz(26.3513, 23.5784, 60.9084)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FCD #CDC678
analogous
#78A9CD #787FCD #9B78CD
triadic
#787FCD #CD787F #7FCD78
tetradic
#787FCD #CD78A9 #CDC678 #78CD9B
square
#787FCD #CD78A9 #CDC678 #78CD9B
split-complementary
#787FCD #CD9B78 #A9CD78
monochromatic
#373E94 #4B55BC #787FCD #A5A9DE #D1D4EE

Accessibility & contrast

On white

3.67
#787FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#787FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FCD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FCD#FFFFFF#000000##000000
##787FCD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#5D8F9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787fcd;
/* rgb */ color: rgb(120, 127, 205);
/* oklch */ color: oklch(62.4% 0.117 278.5);
Tailwind
colors: {
  custom: {
    50: '#a2a4dc',
    500: '#787fcd',
    950: '#000000',
  },
}
SCSS
$custom: #787fcd;
$custom-light: #a2a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#787fcd",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 235.059,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.11728,
    "h": 278.5
  },
  "luminance": 0.2358
}

Semantic roles & 50–950 ramp

primary
#787FCD
secondary
#DFDDC1
accent
#AE2CB9
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #787FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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