#7A98DC#7A98DC

#7A98DC is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.5% C 0.107 H 265.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7A98DC
RGBrgb(122, 152, 220)
HSLhsl(222, 58%, 67%)
HSVhsv(222, 45%, 86%)
CMYKcmyk(44.5%, 30.9%, 0%, 13.7%)
CIE-LABlab(63.14, 7.31, -37.89)
CIE-LCHlch(63.14, 38.59, 280.92°)
OKLaboklab(68.47% -0.0084 -0.1062)
OKLCHoklch(68.47% 0.107 265.5)
XYZxyz(32.1684, 31.7595, 72.1314)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98DC #DCBE7A
analogous
#7AC9DC #7A98DC #8D7ADC
triadic
#7A98DC #DC7A98 #98DC7A
tetradic
#7A98DC #DC7AC9 #DCBE7A #7ADC8D
square
#7A98DC #DC7AC9 #DCBE7A #7ADC8D
split-complementary
#7A98DC #DC8D7A #C9DC7A
monochromatic
#2E55AE #4A72CF #7A98DC #AABEE9 #DBE3F6

Accessibility & contrast

On white

2.86
#7A98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#7A98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98DC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98DC#FFFFFF#000000##000000
##7A98DC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EDF
Deuteranopia (green-blind)
#7595DA
Tritanopia (blue-blind)
#56A6B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7a98dc;
/* rgb */ color: rgb(122, 152, 220);
/* oklch */ color: oklch(68.5% 0.107 265.5);
Tailwind
colors: {
  custom: {
    50: '#a5b6e7',
    500: '#7a98dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a98dc;
$custom-light: #a5b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98dc",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 221.633,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.10652,
    "h": 265.5
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

primary
#7A98DC
secondary
#E8DFC9
accent
#9320C6
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7A98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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