#7A9EF2#7A9EF2

#7A9EF2 is a light, vivid blue. Relative luminance 0.350; OKLCH L 70.8% C 0.130 H 265.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7A9EF2
RGBrgb(122, 158, 242)
HSLhsl(222, 82%, 71%)
HSVhsv(222, 50%, 95%)
CMYKcmyk(49.6%, 34.7%, 0%, 5.1%)
CIE-LABlab(65.75, 10.32, -45.94)
CIE-LCHlch(65.75, 47.08, 282.66°)
OKLaboklab(70.82% -0.0099 -0.1295)
OKLCHoklch(70.82% 0.13 265.6)
XYZxyz(36.2746, 34.9997, 88.8313)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9EF2 #F2CE7A
analogous
#7ADAF2 #7A9EF2 #927AF2
triadic
#7A9EF2 #F27A9E #9EF27A
tetradic
#7A9EF2 #F27ADA #F2CE7A #7AF292
square
#7A9EF2 #F27ADA #F2CE7A #7AF292
split-complementary
#7A9EF2 #F2927A #DAF27A
monochromatic
#1651DC #4275ED #7A9EF2 #B2C7F7 #E3EBFC

Accessibility & contrast

On white

2.62
#7A9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#7A9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A9EF2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9EF2#FFFFFF#000000##000000
##7A9EF21.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F5
Deuteranopia (green-blind)
#709BF0
Tritanopia (blue-blind)
#45B0BD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7a9ef2;
/* rgb */ color: rgb(122, 158, 242);
/* oklch */ color: oklch(70.8% 0.130 265.6);
Tailwind
colors: {
  custom: {
    50: '#a7baf6',
    500: '#7a9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7a9ef2;
$custom-light: #a7baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9ef2",
  "rgb": {
    "r": 122,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 222,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70816,
    "c": 0.12987,
    "h": 265.6
  },
  "luminance": 0.35002
}

Semantic roles & 50–950 ramp

primary
#7A9EF2
secondary
#F3EAD4
accent
#9E07DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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