#7B98CE#7B98CE

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

Color values

HEX#7B98CE
RGBrgb(123, 152, 206)
HSLhsl(219, 46%, 65%)
HSVhsv(219, 40%, 81%)
CMYKcmyk(40.3%, 26.2%, 0%, 19.2%)
CIE-LABlab(62.61, 3.60, -30.93)
CIE-LCHlch(62.61, 31.14, 276.64°)
OKLaboklab(67.87% -0.0114 -0.0861)
OKLCHoklch(67.87% 0.087 262.5)
XYZxyz(30.5337, 31.1221, 62.7788)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B98CE #CEB17B
analogous
#7BC2CE #7B98CE #887BCE
triadic
#7B98CE #CE7B98 #98CE7B
tetradic
#7B98CE #CE7BC2 #CEB17B #7BCE88
square
#7B98CE #CE7BC2 #CEB17B #7BCE88
split-complementary
#7B98CE #CE887B #C2CE7B
monochromatic
#385997 #4E75BD #7B98CE #A8BBDF #D4DEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B98CE#FFFFFF#000000##000000
##7B98CE1.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)
#859CD0
Deuteranopia (green-blind)
#7C94CD
Tritanopia (blue-blind)
#5FA3AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7b98ce;
/* rgb */ color: rgb(123, 152, 206);
/* oklch */ color: oklch(67.9% 0.087 262.5);
Tailwind
colors: {
  custom: {
    50: '#a4b6dd',
    500: '#7b98ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b98ce;
$custom-light: #a4b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b98ce",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 219.036,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67871,
    "c": 0.08685,
    "h": 262.5
  },
  "luminance": 0.31124
}

Semantic roles & 50–950 ramp

primary
#7B98CE
secondary
#E1D7C4
accent
#882CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7B98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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