#7A98CA#7A98CA

#7A98CA is a light, moderate blue. Relative luminance 0.309; OKLCH L 67.6% C 0.082 H 260.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7A98CA
RGBrgb(122, 152, 202)
HSLhsl(218, 43%, 64%)
HSVhsv(218, 40%, 79%)
CMYKcmyk(39.6%, 24.8%, 0%, 20.8%)
CIE-LABlab(62.39, 2.22, -29.04)
CIE-LCHlch(62.39, 29.13, 274.38°)
OKLaboklab(67.63% -0.0136 -0.0807)
OKLCHoklch(67.63% 0.082 260.4)
XYZxyz(29.9116, 30.8568, 60.2455)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98CA #CAAC7A
analogous
#7AC0CA #7A98CA #847ACA
triadic
#7A98CA #CA7A98 #98CA7A
tetradic
#7A98CA #CA7AC0 #CAAC7A #7ACA84
square
#7A98CA #CA7AC0 #CAAC7A #7ACA84
split-complementary
#7A98CA #CA847A #C0CA7A
monochromatic
#395A90 #4E76B9 #7A98CA #A6BADB #D2DCED

Accessibility & contrast

On white

2.93
#7A98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7A98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98CA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98CA#FFFFFF#000000##000000
##7A98CA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#7E93C9
Tritanopia (blue-blind)
#5FA3A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a98ca;
/* rgb */ color: rgb(122, 152, 202);
/* oklch */ color: oklch(67.6% 0.082 260.4);
Tailwind
colors: {
  custom: {
    50: '#a3b6da',
    500: '#7a98ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a98ca;
$custom-light: #a3b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98ca",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 217.5,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.08186,
    "h": 260.4
  },
  "luminance": 0.30858
}

Semantic roles & 50–950 ramp

primary
#7A98CA
secondary
#DED3C2
accent
#842FB6
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#0F1114
muted
#7F8083

Preview Lab

Preview with #7A98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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