#787FCA#787FCA

#787FCA is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.3% C 0.113 H 278.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#787FCA
RGBrgb(120, 127, 202)
HSLhsl(235, 44%, 63%)
HSVhsv(235, 41%, 79%)
CMYKcmyk(40.6%, 37.1%, 0%, 20.8%)
CIE-LABlab(55.52, 16.28, -39.76)
CIE-LCHlch(55.52, 42.97, 292.26°)
OKLaboklab(62.27% 0.0167 -0.1117)
OKLCHoklch(62.27% 0.113 278.5)
XYZxyz(25.9926, 23.4350, 59.0195)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FCA #CAC378
analogous
#78A8CA #787FCA #9A78CA
triadic
#787FCA #CA787F #7FCA78
tetradic
#787FCA #CA78A8 #CAC378 #78CA9A
square
#787FCA #CA78A8 #CAC378 #78CA9A
split-complementary
#787FCA #CA9A78 #A8CA78
monochromatic
#38408F #4C55B9 #787FCA #A4A9DB #D0D2ED

Accessibility & contrast

On white

3.69
#787FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#787FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FCA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FCA#FFFFFF#000000##000000
##787FCA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#5F8E9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787fca;
/* rgb */ color: rgb(120, 127, 202);
/* oklch */ color: oklch(62.3% 0.113 278.5);
Tailwind
colors: {
  custom: {
    50: '#a2a4da',
    500: '#787fca',
    950: '#000000',
  },
}
SCSS
$custom: #787fca;
$custom-light: #a2a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#787fca",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 234.878,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62265,
    "c": 0.11296,
    "h": 278.5
  },
  "luminance": 0.23436
}

Semantic roles & 50–950 ramp

primary
#787FCA
secondary
#DEDBC0
accent
#AB2FB7
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #787FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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