#7A8AEF#7A8AEF

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

Color values

HEX#7A8AEF
RGBrgb(122, 138, 239)
HSLhsl(232, 79%, 71%)
HSVhsv(232, 49%, 94%)
CMYKcmyk(49%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.38, 21.10, -52.78)
CIE-LCHlch(60.38, 56.84, 291.79°)
OKLaboklab(66.63% 0.0126 -0.1496)
OKLCHoklch(66.63% 0.15 274.8)
XYZxyz(32.6896, 28.5446, 85.4317)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8AEF #EFDF7A
analogous
#7AC4EF #7A8AEF #A47AEF
triadic
#7A8AEF #EF7A8A #8AEF7A
tetradic
#7A8AEF #EF7AC4 #EFDF7A #7AEFA4
square
#7A8AEF #EF7AC4 #EFDF7A #7AEFA4
split-complementary
#7A8AEF #EFA47A #C4EF7A
monochromatic
#1A33D5 #435AE8 #7A8AEF #B1BAF6 #E4E7FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8AEF#FFFFFF#000000##000000
##7A8AEF1.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)
#6197F3
Deuteranopia (green-blind)
#568DED
Tritanopia (blue-blind)
#4B9FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7a8aef;
/* rgb */ color: rgb(122, 138, 239);
/* oklch */ color: oklch(66.6% 0.150 274.8);
Tailwind
colors: {
  custom: {
    50: '#a7abf5',
    500: '#7a8aef',
    950: '#000000',
  },
}
SCSS
$custom: #7a8aef;
$custom-light: #a7abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8aef",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 231.795,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66633,
    "c": 0.15014,
    "h": 274.8
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#7A8AEF
secondary
#F2EED3
accent
#BE0BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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