#787DDD#787DDD

#787DDD is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.143 H 279.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#787DDD
RGBrgb(120, 125, 221)
HSLhsl(237, 60%, 67%)
HSVhsv(237, 46%, 87%)
CMYKcmyk(45.7%, 43.4%, 0%, 13.3%)
CIE-LABlab(55.97, 22.99, -49.77)
CIE-LCHlch(55.97, 54.83, 294.79°)
OKLaboklab(62.92% 0.0228 -0.1409)
OKLCHoklch(62.92% 0.143 279.2)
XYZxyz(28.1265, 23.8793, 71.5197)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DDD #DDD878
analogous
#78B0DD #787DDD #A678DD
triadic
#787DDD #DD787D #7DDD78
tetradic
#787DDD #DD78B0 #DDD878 #78DDA6
square
#787DDD #DD78B0 #DDD878 #78DDA6
split-complementary
#787DDD #DDA678 #B0DD78
monochromatic
#2C32AF #474ED1 #787DDD #A9ACE9 #DADBF6

Accessibility & contrast

On white

3.64
#787DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#787DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DDD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DDD#FFFFFF#000000##000000
##787DDD1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#5082DB
Tritanopia (blue-blind)
#5591A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787ddd;
/* rgb */ color: rgb(120, 125, 221);
/* oklch */ color: oklch(62.9% 0.143 279.2);
Tailwind
colors: {
  custom: {
    50: '#a4a2e8',
    500: '#787ddd',
    950: '#000000',
  },
}
SCSS
$custom: #787ddd;
$custom-light: #a4a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#787ddd",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 237.03,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62924,
    "c": 0.14277,
    "h": 279.2
  },
  "luminance": 0.23881
}

Semantic roles & 50–950 ramp

primary
#787DDD
secondary
#E9E7C8
accent
#BF1EC7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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