#7A9DEC#7A9DEC

#7A9DEC is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.3% C 0.123 H 265.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7A9DEC
RGBrgb(122, 157, 236)
HSLhsl(222, 75%, 70%)
HSVhsv(222, 48%, 93%)
CMYKcmyk(48.3%, 33.5%, 0%, 7.5%)
CIE-LABlab(65.20, 9.11, -43.50)
CIE-LCHlch(65.20, 44.44, 281.83°)
OKLaboklab(70.3% -0.0102 -0.1224)
OKLCHoklch(70.3% 0.123 265.2)
XYZxyz(35.2184, 34.3054, 84.1064)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9DEC #ECC97A
analogous
#7AD6EC #7A9DEC #907AEC
triadic
#7A9DEC #EC7A9D #9DEC7A
tetradic
#7A9DEC #EC7AD6 #ECC97A #7AEC90
square
#7A9DEC #EC7AD6 #ECC97A #7AEC90
split-complementary
#7A9DEC #EC907A #D6EC7A
monochromatic
#1D54CE #4476E4 #7A9DEC #B0C4F4 #E4EBFB

Accessibility & contrast

On white

2.67
#7A9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#7A9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A9DEC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9DEC#FFFFFF#000000##000000
##7A9DEC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#4AAEBA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7a9dec;
/* rgb */ color: rgb(122, 157, 236);
/* oklch */ color: oklch(70.3% 0.123 265.2);
Tailwind
colors: {
  custom: {
    50: '#a6b9f2',
    500: '#7a9dec',
    950: '#000000',
  },
}
SCSS
$custom: #7a9dec;
$custom-light: #a6b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9dec",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 221.579,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70303,
    "c": 0.12284,
    "h": 265.2
  },
  "luminance": 0.34308
}

Semantic roles & 50–950 ramp

primary
#7A9DEC
secondary
#F1E7D1
accent
#9A0ED7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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