#787FCB#787FCB

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

Color values

HEX#787FCB
RGBrgb(120, 127, 203)
HSLhsl(235, 44%, 63%)
HSVhsv(235, 41%, 80%)
CMYKcmyk(40.9%, 37.4%, 0%, 20.4%)
CIE-LABlab(55.57, 16.56, -40.26)
CIE-LCHlch(55.57, 43.53, 292.37°)
OKLaboklab(62.32% 0.017 -0.1131)
OKLCHoklch(62.32% 0.114 278.5)
XYZxyz(26.1114, 23.4825, 59.6451)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FCB #CBC478
analogous
#78A8CB #787FCB #9A78CB
triadic
#787FCB #CB787F #7FCB78
tetradic
#787FCB #CB78A8 #CBC478 #78CB9A
square
#787FCB #CB78A8 #CBC478 #78CB9A
split-complementary
#787FCB #CB9A78 #A8CB78
monochromatic
#383F91 #4C55BA #787FCB #A4A9DC #D0D3ED

Accessibility & contrast

On white

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

On black

5.70
#787FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FCB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FCB#FFFFFF#000000##000000
##787FCB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CE
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#5E8E9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787fcb;
/* rgb */ color: rgb(120, 127, 203);
/* oklch */ color: oklch(62.3% 0.114 278.5);
Tailwind
colors: {
  custom: {
    50: '#a2a4db',
    500: '#787fcb',
    950: '#000000',
  },
}
SCSS
$custom: #787fcb;
$custom-light: #a2a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#787fcb",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 234.94,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.1144,
    "h": 278.5
  },
  "luminance": 0.23484
}

Semantic roles & 50–950 ramp

primary
#787FCB
secondary
#DEDCC1
accent
#AC2EB8
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #787FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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