#7A8AEE#7A8AEE

#7A8AEE is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.6% C 0.149 H 274.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A8AEE
RGBrgb(122, 138, 238)
HSLhsl(232, 77%, 71%)
HSVhsv(232, 49%, 93%)
CMYKcmyk(48.7%, 42%, 0%, 6.7%)
CIE-LABlab(60.32, 20.80, -52.31)
CIE-LCHlch(60.32, 56.30, 291.69°)
OKLaboklab(66.58% 0.0124 -0.1482)
OKLCHoklch(66.58% 0.149 274.8)
XYZxyz(32.5423, 28.4856, 84.6559)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8AEE #EEDE7A
analogous
#7AC4EE #7A8AEE #A47AEE
triadic
#7A8AEE #EE7A8A #8AEE7A
tetradic
#7A8AEE #EE7AC4 #EEDE7A #7AEEA4
square
#7A8AEE #EE7AC4 #EEDE7A #7AEEA4
split-complementary
#7A8AEE #EEA47A #C4EE7A
monochromatic
#1B34D3 #445AE7 #7A8AEE #B0BAF5 #E4E7FC

Accessibility & contrast

On white

3.14
#7A8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7A8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8AEE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8AEE#FFFFFF#000000##000000
##7A8AEE1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#4C9FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a8aee;
/* rgb */ color: rgb(122, 138, 238);
/* oklch */ color: oklch(66.6% 0.149 274.8);
Tailwind
colors: {
  custom: {
    50: '#a7abf4',
    500: '#7a8aee',
    950: '#000000',
  },
}
SCSS
$custom: #7a8aee;
$custom-light: #a7abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8aee",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 231.724,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66576,
    "c": 0.14875,
    "h": 274.8
  },
  "luminance": 0.28488
}

Semantic roles & 50–950 ramp

primary
#7A8AEE
secondary
#F2EDD2
accent
#BD0CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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