#7B87EF#7B87EF

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

Color values

HEX#7B87EF
RGBrgb(123, 135, 239)
HSLhsl(234, 78%, 71%)
HSVhsv(234, 49%, 94%)
CMYKcmyk(48.5%, 43.5%, 0%, 6.3%)
CIE-LABlab(59.68, 23.10, -53.89)
CIE-LCHlch(59.68, 58.63, 293.20°)
OKLaboklab(66.12% 0.0171 -0.1529)
OKLCHoklch(66.12% 0.154 276.4)
XYZxyz(32.4075, 27.7690, 85.2969)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87EF #EFE37B
analogous
#7BC1EF #7B87EF #A97BEF
triadic
#7B87EF #EF7B87 #87EF7B
tetradic
#7B87EF #EF7BC1 #EFE37B #7BEFA9
square
#7B87EF #EF7BC1 #EFE37B #7BEFA9
split-complementary
#7B87EF #EFA97B #C1EF7B
monochromatic
#1A2DD6 #4455E8 #7B87EF #B2B9F6 #E4E6FC

Accessibility & contrast

On white

3.20
#7B87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7B87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87EF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87EF#FFFFFF#000000##000000
##7B87EF1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#528BED
Tritanopia (blue-blind)
#4E9DAF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87ef;
/* rgb */ color: rgb(123, 135, 239);
/* oklch */ color: oklch(66.1% 0.154 276.4);
Tailwind
colors: {
  custom: {
    50: '#a7a9f5',
    500: '#7b87ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b87ef;
$custom-light: #a7a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87ef",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 233.793,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.1538,
    "h": 276.4
  },
  "luminance": 0.27771
}

Semantic roles & 50–950 ramp

primary
#7B87EF
secondary
#F2EFD3
accent
#C50BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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