#787DDC#787DDC

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

Color values

HEX#787DDC
RGBrgb(120, 125, 220)
HSLhsl(237, 59%, 67%)
HSVhsv(237, 45%, 86%)
CMYKcmyk(45.5%, 43.2%, 0%, 13.7%)
CIE-LABlab(55.91, 22.70, -49.30)
CIE-LCHlch(55.91, 54.27, 294.72°)
OKLaboklab(62.87% 0.0227 -0.1395)
OKLCHoklch(62.87% 0.141 279.2)
XYZxyz(27.9937, 23.8262, 70.8202)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DDC #DCD778
analogous
#78AFDC #787DDC #A578DC
triadic
#787DDC #DC787D #7DDC78
tetradic
#787DDC #DC78AF #DCD778 #78DCA5
square
#787DDC #DC78AF #DCD778 #78DCA5
split-complementary
#787DDC #DCA578 #AFDC78
monochromatic
#2D33AD #474ECF #787DDC #A9ACE9 #D9DBF5

Accessibility & contrast

On white

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

On black

5.77
#787DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DDC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DDC#FFFFFF#000000##000000
##787DDC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#5691A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787ddc;
/* rgb */ color: rgb(120, 125, 220);
/* oklch */ color: oklch(62.9% 0.141 279.2);
Tailwind
colors: {
  custom: {
    50: '#a4a2e7',
    500: '#787ddc',
    950: '#000000',
  },
}
SCSS
$custom: #787ddc;
$custom-light: #a4a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#787ddc",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 237,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62866,
    "c": 0.14136,
    "h": 279.2
  },
  "luminance": 0.23828
}

Semantic roles & 50–950 ramp

primary
#787DDC
secondary
#E8E6C8
accent
#BE1FC6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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