#7A98CD#7A98CD

#7A98CD is a light, moderate blue. Relative luminance 0.310; OKLCH L 67.8% C 0.086 H 261.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7A98CD
RGBrgb(122, 152, 205)
HSLhsl(218, 45%, 64%)
HSVhsv(218, 40%, 80%)
CMYKcmyk(40.5%, 25.9%, 0%, 19.6%)
CIE-LABlab(62.51, 3.06, -30.53)
CIE-LCHlch(62.51, 30.68, 275.72°)
OKLaboklab(67.76% -0.0127 -0.085)
OKLCHoklch(67.76% 0.086 261.5)
XYZxyz(30.2703, 31.0002, 62.1344)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98CD #CDAF7A
analogous
#7AC2CD #7A98CD #867ACD
triadic
#7A98CD #CD7A98 #98CD7A
tetradic
#7A98CD #CD7AC2 #CDAF7A #7ACD86
square
#7A98CD #CD7AC2 #CDAF7A #7ACD86
split-complementary
#7A98CD #CD867A #C2CD7A
monochromatic
#385995 #4E76BC #7A98CD #A6BADE #D3DDEE

Accessibility & contrast

On white

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

On black

7.20
#7A98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98CD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98CD#FFFFFF#000000##000000
##7A98CD1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a98cd;
/* rgb */ color: rgb(122, 152, 205);
/* oklch */ color: oklch(67.8% 0.086 261.5);
Tailwind
colors: {
  custom: {
    50: '#a3b6dc',
    500: '#7a98cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a98cd;
$custom-light: #a3b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98cd",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 218.313,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.08593,
    "h": 261.5
  },
  "luminance": 0.31002
}

Semantic roles & 50–950 ramp

primary
#7A98CD
secondary
#E0D5C3
accent
#862DB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7A98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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