#7A8DEB#7A8DEB

#7A8DEB is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.0% C 0.141 H 273.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7A8DEB
RGBrgb(122, 141, 235)
HSLhsl(230, 74%, 70%)
HSVhsv(230, 48%, 92%)
CMYKcmyk(48.1%, 40%, 0%, 7.8%)
CIE-LABlab(60.94, 18.13, -49.67)
CIE-LCHlch(60.94, 52.88, 290.06°)
OKLaboklab(67% 0.0084 -0.1405)
OKLCHoklch(67% 0.141 273.4)
XYZxyz(32.5416, 29.1836, 82.4994)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DEB #EBD87A
analogous
#7AC5EB #7A8DEB #A07AEB
triadic
#7A8DEB #EB7A8D #8DEB7A
tetradic
#7A8DEB #EB7AC5 #EBD87A #7AEBA0
square
#7A8DEB #EB7AC5 #EBD87A #7AEBA0
split-complementary
#7A8DEB #EBA07A #C5EB7A
monochromatic
#1F3CCC #455FE3 #7A8DEB #AFBBF3 #E4E8FB

Accessibility & contrast

On white

3.07
#7A8DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7A8DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8DEB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DEB#FFFFFF#000000##000000
##7A8DEB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#4EA1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a8deb;
/* rgb */ color: rgb(122, 141, 235);
/* oklch */ color: oklch(67.0% 0.141 273.4);
Tailwind
colors: {
  custom: {
    50: '#a6aef2',
    500: '#7a8deb',
    950: '#000000',
  },
}
SCSS
$custom: #7a8deb;
$custom-light: #a6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8deb",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 229.912,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.66999,
    "c": 0.14074,
    "h": 273.4
  },
  "luminance": 0.29185
}

Semantic roles & 50–950 ramp

primary
#7A8DEB
secondary
#F0EBD1
accent
#B510D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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