#787FCE#787FCE

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

Color values

HEX#787FCE
RGBrgb(120, 127, 206)
HSLhsl(235, 47%, 64%)
HSVhsv(235, 42%, 81%)
CMYKcmyk(41.7%, 38.3%, 0%, 19.2%)
CIE-LABlab(55.71, 17.42, -41.72)
CIE-LCHlch(55.71, 45.22, 292.67°)
OKLaboklab(62.48% 0.0176 -0.1174)
OKLCHoklch(62.48% 0.119 278.5)
XYZxyz(26.4724, 23.6269, 61.5461)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FCE #CEC778
analogous
#78AACE #787FCE #9C78CE
triadic
#787FCE #CE787F #7FCE78
tetradic
#787FCE #CE78AA #CEC778 #78CE9C
square
#787FCE #CE78AA #CEC778 #78CE9C
split-complementary
#787FCE #CE9C78 #AACE78
monochromatic
#363E95 #4B54BE #787FCE #A5AADE #D2D4EF

Accessibility & contrast

On white

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

On black

5.73
#787FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FCE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FCE#FFFFFF#000000##000000
##787FCE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D1
Deuteranopia (green-blind)
#5E82CC
Tritanopia (blue-blind)
#5D8F9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787fce;
/* rgb */ color: rgb(120, 127, 206);
/* oklch */ color: oklch(62.5% 0.119 278.5);
Tailwind
colors: {
  custom: {
    50: '#a2a4dd',
    500: '#787fce',
    950: '#000000',
  },
}
SCSS
$custom: #787fce;
$custom-light: #a2a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#787fce",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 235.116,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62478,
    "c": 0.11872,
    "h": 278.5
  },
  "luminance": 0.23628
}

Semantic roles & 50–950 ramp

primary
#787FCE
secondary
#E0DEC2
accent
#AE2CBA
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #787FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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