#7A9EF6#7A9EF6

#7A9EF6 is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.0% C 0.135 H 266.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7A9EF6
RGBrgb(122, 158, 246)
HSLhsl(223, 87%, 72%)
HSVhsv(223, 50%, 96%)
CMYKcmyk(50.4%, 35.8%, 0%, 3.5%)
CIE-LABlab(65.94, 11.52, -47.83)
CIE-LCHlch(65.94, 49.19, 283.54°)
OKLaboklab(71.02% -0.009 -0.135)
OKLCHoklch(71.02% 0.135 266.2)
XYZxyz(36.8820, 35.2426, 92.0299)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9EF6 #F6D27A
analogous
#7ADCF6 #7A9EF6 #947AF6
triadic
#7A9EF6 #F67A9E #9EF67A
tetradic
#7A9EF6 #F67ADC #F6D27A #7AF694
square
#7A9EF6 #F67ADC #F6D27A #7AF694
split-complementary
#7A9EF6 #F6947A #DCF67A
monochromatic
#104EE6 #4174F2 #7A9EF6 #B3C8FA #E2EAFD

Accessibility & contrast

On white

2.61
#7A9EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7A9EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A9EF6
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9EF6#FFFFFF#000000##000000
##7A9EF61.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6FA
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#41B1BE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7a9ef6;
/* rgb */ color: rgb(122, 158, 246);
/* oklch */ color: oklch(71.0% 0.135 266.2);
Tailwind
colors: {
  custom: {
    50: '#a7baf9',
    500: '#7a9ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7a9ef6;
$custom-light: #a7baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9ef6",
  "rgb": {
    "r": 122,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 222.581,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71024,
    "c": 0.1353,
    "h": 266.2
  },
  "luminance": 0.35245
}

Semantic roles & 50–950 ramp

primary
#7A9EF6
secondary
#F5ECD6
accent
#A202E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A9EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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