#7B8AEE#7B8AEE

#7B8AEE is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.6% C 0.148 H 275.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7B8AEE
RGBrgb(123, 138, 238)
HSLhsl(232, 77%, 71%)
HSVhsv(232, 48%, 93%)
CMYKcmyk(48.3%, 42%, 0%, 6.7%)
CIE-LABlab(60.39, 21.03, -52.20)
CIE-LCHlch(60.39, 56.28, 291.94°)
OKLaboklab(66.64% 0.0134 -0.1479)
OKLCHoklch(66.64% 0.149 275.2)
XYZxyz(32.6846, 28.5590, 84.6625)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8AEE #EEDF7B
analogous
#7BC3EE #7B8AEE #A57BEE
triadic
#7B8AEE #EE7B8A #8AEE7B
tetradic
#7B8AEE #EE7BC3 #EEDF7B #7BEEA5
square
#7B8AEE #EE7BC3 #EEDF7B #7BEEA5
split-complementary
#7B8AEE #EEA57B #C3EE7B
monochromatic
#1B33D3 #455AE7 #7B8AEE #B1BAF5 #E4E7FC

Accessibility & contrast

On white

3.13
#7B8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7B8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8AEE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8AEE#FFFFFF#000000##000000
##7B8AEE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#4E9FB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b8aee;
/* rgb */ color: rgb(123, 138, 238);
/* oklch */ color: oklch(66.6% 0.148 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7abf4',
    500: '#7b8aee',
    950: '#000000',
  },
}
SCSS
$custom: #7b8aee;
$custom-light: #a7abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8aee",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 232.174,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66643,
    "c": 0.1485,
    "h": 275.2
  },
  "luminance": 0.28561
}

Semantic roles & 50–950 ramp

primary
#7B8AEE
secondary
#F2EED3
accent
#BF0CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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