#787BEE#787BEE

#787BEE is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.6% C 0.169 H 279.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#787BEE
RGBrgb(120, 123, 238)
HSLhsl(238, 78%, 70%)
HSVhsv(238, 50%, 93%)
CMYKcmyk(49.6%, 48.3%, 0%, 6.7%)
CIE-LABlab(56.42, 29.26, -58.55)
CIE-LCHlch(56.42, 65.46, 296.55°)
OKLaboklab(63.57% 0.0273 -0.1667)
OKLCHoklch(63.57% 0.169 279.3)
XYZxyz(30.2565, 24.3303, 83.9743)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BEE #EEEB78
analogous
#78B6EE #787BEE #B078EE
triadic
#787BEE #EE787B #7BEE78
tetradic
#787BEE #EE78B6 #EEEB78 #78EEB0
square
#787BEE #EE78B6 #EEEB78 #78EEB0
split-complementary
#787BEE #EEB078 #B6EE78
monochromatic
#1A1FD1 #4246E7 #787BEE #AEB0F5 #E4E4FC

Accessibility & contrast

On white

3.58
#787BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#787BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BEE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BEE#FFFFFF#000000##000000
##787BEE1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#4A94A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787bee;
/* rgb */ color: rgb(120, 123, 238);
/* oklch */ color: oklch(63.6% 0.169 279.3);
Tailwind
colors: {
  custom: {
    50: '#a6a1f4',
    500: '#787bee',
    950: '#000000',
  },
}
SCSS
$custom: #787bee;
$custom-light: #a6a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#787bee",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 238.475,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63573,
    "c": 0.16892,
    "h": 279.3
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

primary
#787BEE
secondary
#F1F0D1
accent
#D50CDA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #787BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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