#7A98CC#7A98CC

#7A98CC is a light, moderate blue. Relative luminance 0.310; OKLCH L 67.7% C 0.085 H 261.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7A98CC
RGBrgb(122, 152, 204)
HSLhsl(218, 45%, 64%)
HSVhsv(218, 40%, 80%)
CMYKcmyk(40.2%, 25.5%, 0%, 20%)
CIE-LABlab(62.47, 2.78, -30.04)
CIE-LCHlch(62.47, 30.16, 275.28°)
OKLaboklab(67.72% -0.013 -0.0836)
OKLCHoklch(67.72% 0.085 261.2)
XYZxyz(30.1499, 30.9521, 61.5007)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98CC #CCAE7A
analogous
#7AC1CC #7A98CC #857ACC
triadic
#7A98CC #CC7A98 #98CC7A
tetradic
#7A98CC #CC7AC1 #CCAE7A #7ACC85
square
#7A98CC #CC7AC1 #CCAE7A #7ACC85
split-complementary
#7A98CC #CC857A #C1CC7A
monochromatic
#385A93 #4E76BB #7A98CC #A6BADD #D2DDEE

Accessibility & contrast

On white

2.92
#7A98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7A98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98CC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98CC#FFFFFF#000000##000000
##7A98CC1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCE
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#5EA3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a98cc;
/* rgb */ color: rgb(122, 152, 204);
/* oklch */ color: oklch(67.7% 0.085 261.2);
Tailwind
colors: {
  custom: {
    50: '#a3b6db',
    500: '#7a98cc',
    950: '#000000',
  },
}
SCSS
$custom: #7a98cc;
$custom-light: #a3b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98cc",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 218.049,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67716,
    "c": 0.08457,
    "h": 261.2
  },
  "luminance": 0.30954
}

Semantic roles & 50–950 ramp

primary
#7A98CC
secondary
#DFD5C3
accent
#852EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7A98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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