#7C98DD#7C98DD

#7C98DD is a light, moderate blue. Relative luminance 0.320; OKLCH L 68.6% C 0.107 H 266.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7C98DD
RGBrgb(124, 152, 221)
HSLhsl(223, 59%, 68%)
HSVhsv(223, 44%, 87%)
CMYKcmyk(43.9%, 31.2%, 0%, 13.3%)
CIE-LABlab(63.31, 8.10, -38.18)
CIE-LCHlch(63.31, 39.03, 281.97°)
OKLaboklab(68.64% -0.0061 -0.107)
OKLCHoklch(68.64% 0.107 266.7)
XYZxyz(32.5874, 31.9602, 72.8444)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C98DD #DDC17C
analogous
#7CC9DD #7C98DD #907CDD
triadic
#7C98DD #DD7C98 #98DD7C
tetradic
#7C98DD #DD7CC9 #DDC17C #7CDD90
square
#7C98DD #DD7CC9 #DDC17C #7CDD90
split-complementary
#7C98DD #DD907C #C9DD7C
monochromatic
#2E54B1 #4B72D0 #7C98DD #ADBEEA #DDE4F6

Accessibility & contrast

On white

2.84
#7C98DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7C98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C98DD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C98DD#FFFFFF#000000##000000
##7C98DD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EE0
Deuteranopia (green-blind)
#7595DB
Tritanopia (blue-blind)
#59A6B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7c98dd;
/* rgb */ color: rgb(124, 152, 221);
/* oklch */ color: oklch(68.6% 0.107 266.7);
Tailwind
colors: {
  custom: {
    50: '#a6b6e8',
    500: '#7c98dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c98dd;
$custom-light: #a6b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c98dd",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 222.68,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68641,
    "c": 0.10715,
    "h": 266.7
  },
  "luminance": 0.31962
}

Semantic roles & 50–950 ramp

primary
#7C98DD
secondary
#E9E1CB
accent
#961FC6
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7C98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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