#787DDF#787DDF

#787DDF is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.146 H 279.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#787DDF
RGBrgb(120, 125, 223)
HSLhsl(237, 62%, 67%)
HSVhsv(237, 46%, 87%)
CMYKcmyk(46.2%, 43.9%, 0%, 12.5%)
CIE-LABlab(56.07, 23.58, -50.72)
CIE-LCHlch(56.07, 55.94, 294.93°)
OKLaboklab(63.04% 0.0231 -0.1437)
OKLCHoklch(63.04% 0.146 279.1)
XYZxyz(28.3946, 23.9866, 72.9314)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DDF #DFDA78
analogous
#78B1DF #787DDF #A678DF
triadic
#787DDF #DF787D #7DDF78
tetradic
#787DDF #DF78B1 #DFDA78 #78DFA6
square
#787DDF #DF78B1 #DFDA78 #78DFA6
split-complementary
#787DDF #DFA678 #B1DF78
monochromatic
#2A31B2 #474DD3 #787DDF #A9ADEB #DBDCF6

Accessibility & contrast

On white

3.62
#787DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#787DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DDF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DDF#FFFFFF#000000##000000
##787DDF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE3
Deuteranopia (green-blind)
#4F83DD
Tritanopia (blue-blind)
#5491A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787ddf;
/* rgb */ color: rgb(120, 125, 223);
/* oklch */ color: oklch(63.0% 0.146 279.1);
Tailwind
colors: {
  custom: {
    50: '#a4a2e9',
    500: '#787ddf',
    950: '#000000',
  },
}
SCSS
$custom: #787ddf;
$custom-light: #a4a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787ddf",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 237.087,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63041,
    "c": 0.14556,
    "h": 279.1
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#787DDF
secondary
#EAE8C9
accent
#C11CC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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