#7B98CD#7B98CD

#7B98CD is a light, moderate blue. Relative luminance 0.311; OKLCH L 67.8% C 0.085 H 262.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7B98CD
RGBrgb(123, 152, 205)
HSLhsl(219, 45%, 64%)
HSVhsv(219, 40%, 80%)
CMYKcmyk(40%, 25.9%, 0%, 19.6%)
CIE-LABlab(62.57, 3.32, -30.43)
CIE-LCHlch(62.57, 30.61, 276.23°)
OKLaboklab(67.83% -0.0117 -0.0847)
OKLCHoklch(67.83% 0.085 262.1)
XYZxyz(30.4126, 31.0736, 62.1411)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B98CD #CDB07B
analogous
#7BC1CD #7B98CD #877BCD
triadic
#7B98CD #CD7B98 #98CD7B
tetradic
#7B98CD #CD7BC1 #CDB07B #7BCD87
square
#7B98CD #CD7BC1 #CDB07B #7BCD87
split-complementary
#7B98CD #CD877B #C1CD7B
monochromatic
#385995 #4F75BC #7B98CD #A7BBDE #D4DDEF

Accessibility & contrast

On white

2.91
#7B98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7B98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B98CD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B98CD#FFFFFF#000000##000000
##7B98CD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CCF
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#5FA3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7b98cd;
/* rgb */ color: rgb(123, 152, 205);
/* oklch */ color: oklch(67.8% 0.085 262.1);
Tailwind
colors: {
  custom: {
    50: '#a4b6dc',
    500: '#7b98cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b98cd;
$custom-light: #a4b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b98cd",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 218.78,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67825,
    "c": 0.08548,
    "h": 262.1
  },
  "luminance": 0.31075
}

Semantic roles & 50–950 ramp

primary
#7B98CD
secondary
#E0D6C4
accent
#872DB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7B98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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