#7A8EF5#7A8EF5

#7A8EF5 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.153 H 273.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7A8EF5
RGBrgb(122, 142, 245)
HSLhsl(230, 86%, 72%)
HSVhsv(230, 50%, 96%)
CMYKcmyk(50.2%, 42%, 0%, 3.9%)
CIE-LABlab(61.72, 20.55, -53.96)
CIE-LCHlch(61.72, 57.74, 290.85°)
OKLaboklab(67.76% 0.009 -0.153)
OKLCHoklch(67.76% 0.153 273.4)
XYZxyz(34.1752, 30.0740, 90.3725)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EF5 #F5E17A
analogous
#7ACCF5 #7A8EF5 #A47AF5
triadic
#7A8EF5 #F57A8E #8EF57A
tetradic
#7A8EF5 #F57ACC #F5E17A #7AF5A4
square
#7A8EF5 #F57ACC #F5E17A #7AF5A4
split-complementary
#7A8EF5 #F5A47A #CCF57A
monochromatic
#1133E3 #415EF1 #7A8EF5 #B3BEF9 #E3E7FD

Accessibility & contrast

On white

2.99
#7A8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7A8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EF5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EF5#FFFFFF#000000##000000
##7A8EF51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BF9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#45A4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8ef5;
/* rgb */ color: rgb(122, 142, 245);
/* oklch */ color: oklch(67.8% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#a7aef9',
    500: '#7a8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ef5;
$custom-light: #a7aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ef5",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 230.244,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6776,
    "c": 0.15329,
    "h": 273.4
  },
  "luminance": 0.30076
}

Semantic roles & 50–950 ramp

primary
#7A8EF5
secondary
#F5F0D6
accent
#BE03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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