#7B87EE#7B87EE

#7B87EE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.1% C 0.152 H 276.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7B87EE
RGBrgb(123, 135, 238)
HSLhsl(234, 77%, 71%)
HSVhsv(234, 48%, 93%)
CMYKcmyk(48.3%, 43.3%, 0%, 6.7%)
CIE-LABlab(59.63, 22.80, -53.42)
CIE-LCHlch(59.63, 58.08, 293.12°)
OKLaboklab(66.06% 0.0169 -0.1515)
OKLCHoklch(66.06% 0.152 276.4)
XYZxyz(32.2602, 27.7101, 84.5210)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87EE #EEE27B
analogous
#7BC0EE #7B87EE #A87BEE
triadic
#7B87EE #EE7B87 #87EE7B
tetradic
#7B87EE #EE7BC0 #EEE27B #7BEEA8
square
#7B87EE #EE7BC0 #EEE27B #7BEEA8
split-complementary
#7B87EE #EEA87B #C0EE7B
monochromatic
#1B2ED3 #4556E7 #7B87EE #B1B8F5 #E4E6FC

Accessibility & contrast

On white

3.21
#7B87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7B87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87EE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87EE#FFFFFF#000000##000000
##7B87EE1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#4F9DAF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87ee;
/* rgb */ color: rgb(123, 135, 238);
/* oklch */ color: oklch(66.1% 0.152 276.4);
Tailwind
colors: {
  custom: {
    50: '#a7a9f4',
    500: '#7b87ee',
    950: '#000000',
  },
}
SCSS
$custom: #7b87ee;
$custom-light: #a7a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87ee",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 233.739,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66059,
    "c": 0.15241,
    "h": 276.4
  },
  "luminance": 0.27712
}

Semantic roles & 50–950 ramp

primary
#7B87EE
secondary
#F2EFD3
accent
#C40CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87EE

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

Preview Lab → · Contrast checker → · Palette generator →

#7B87EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva