#7A98CB#7A98CB

#7A98CB is a light, moderate blue. Relative luminance 0.309; OKLCH L 67.7% C 0.083 H 260.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7A98CB
RGBrgb(122, 152, 203)
HSLhsl(218, 44%, 64%)
HSVhsv(218, 40%, 80%)
CMYKcmyk(39.9%, 25.1%, 0%, 20.4%)
CIE-LABlab(62.43, 2.50, -29.54)
CIE-LCHlch(62.43, 29.65, 274.84°)
OKLaboklab(67.67% -0.0133 -0.0821)
OKLCHoklch(67.67% 0.083 260.8)
XYZxyz(30.0304, 30.9043, 60.8711)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98CB #CBAD7A
analogous
#7AC0CB #7A98CB #847ACB
triadic
#7A98CB #CB7A98 #98CB7A
tetradic
#7A98CB #CB7AC0 #CBAD7A #7ACB84
square
#7A98CB #CB7AC0 #CBAD7A #7ACB84
split-complementary
#7A98CB #CB847A #C0CB7A
monochromatic
#395A92 #4E76BA #7A98CB #A6BADC #D2DCED

Accessibility & contrast

On white

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

On black

7.18
#7A98CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98CB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98CB#FFFFFF#000000##000000
##7A98CB1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCD
Deuteranopia (green-blind)
#7D94CA
Tritanopia (blue-blind)
#5FA3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a98cb;
/* rgb */ color: rgb(122, 152, 203);
/* oklch */ color: oklch(67.7% 0.083 260.8);
Tailwind
colors: {
  custom: {
    50: '#a3b6db',
    500: '#7a98cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a98cb;
$custom-light: #a3b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98cb",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 217.778,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.08322,
    "h": 260.8
  },
  "luminance": 0.30906
}

Semantic roles & 50–950 ramp

primary
#7A98CB
secondary
#DFD4C2
accent
#842FB7
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7A98CB

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

Preview Lab → · Contrast checker → · Palette generator →

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